mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-29 06:36:05 +08:00
fix(fsdrv/fatfs): support FF_DIR and FATFS_DIR typedef in ff.h (#6128)
This commit is contained in:
@@ -16,6 +16,10 @@
|
|||||||
* DEFINES
|
* 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'
|
#if LV_FS_FATFS_LETTER == '\0'
|
||||||
#error "LV_FS_FATFS_LETTER must be an upper case ASCII letter"
|
#error "LV_FS_FATFS_LETTER must be an upper case ASCII letter"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user