fix(fsdrv/fatfs): support FF_DIR and FATFS_DIR typedef in ff.h (#6128)
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
#ifdef ESP_PLATFORM
|
||||
#define DIR FF_DIR /* ESP IDF typedefs `DIR` as `FF_DIR` in its version of ff.h. Use `FF_DIR` in LVGL too */
|
||||
#endif
|
||||
|
||||
#if LV_FS_FATFS_LETTER == '\0'
|
||||
#error "LV_FS_FATFS_LETTER must be an upper case ASCII letter"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user