Revision 100
Added by markw over 11 years ago
| firmware/fat/pff_file.c | ||
|---|---|---|
|
|
||
|
int write_pending;
|
||
|
|
||
|
#define translateStatus(res) (res == FR_OK ? SimpleFile_OK: SimpleFile_FAIL)
|
||
|
#define translateDStatus(res) (res == RES_OK ? SimpleFile_OK: SimpleFile_FAIL)
|
||
|
|
||
|
/*
|
||
|
enum SimpleFileStatus translateStatus(FRESULT res)
|
||
|
{
|
||
|
return res == FR_OK ? SimpleFile_OK: SimpleFile_FAIL;
|
||
| ... | ... | |
|
enum SimpleFileStatus translateDStatus(DSTATUS res)
|
||
|
{
|
||
|
return res == RES_OK ? SimpleFile_OK: SimpleFile_FAIL;
|
||
|
}
|
||
|
}*/
|
||
|
|
||
|
char const * file_of(char const * path)
|
||
|
{
|
||
Attempting to save some memory!