mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
fatfs: Whitespace cleanup
This commit is contained in:
@@ -330,7 +330,7 @@ static int vfs_fat_open(void* ctx, const char * path, int flags, int mode)
|
|||||||
ESP_LOGE(TAG, "open: Failed to pre-allocate CLMT buffer for fast-seek");
|
ESP_LOGE(TAG, "open: Failed to pre-allocate CLMT buffer for fast-seek");
|
||||||
errno = ENOMEM;
|
errno = ENOMEM;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
file->cltbl = clmt_mem;
|
file->cltbl = clmt_mem;
|
||||||
file->cltbl[0] = CONFIG_FATFS_FAST_SEEK_BUFFER_SIZE;
|
file->cltbl[0] = CONFIG_FATFS_FAST_SEEK_BUFFER_SIZE;
|
||||||
@@ -347,7 +347,7 @@ static int vfs_fat_open(void* ctx, const char * path, int flags, int mode)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
file->cltbl = NULL;
|
file->cltbl = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// O_APPEND need to be stored because it is not compatible with FA_OPEN_APPEND:
|
// O_APPEND need to be stored because it is not compatible with FA_OPEN_APPEND:
|
||||||
|
Reference in New Issue
Block a user