Check if LV_USE_FS_IF is already defined

This commit is contained in:
fvanroie 2022-07-21 00:46:26 +02:00
parent 18eb8137e5
commit 66f05103a5

View File

@ -211,7 +211,10 @@ typedef void* lv_group_user_data_t;
typedef void* lv_fs_drv_user_data_t; typedef void* lv_fs_drv_user_data_t;
/*File system interface*/ /*File system interface*/
#ifndef LV_USE_FS_IF
#define LV_USE_FS_IF !defined(STM32) #define LV_USE_FS_IF !defined(STM32)
#endif
#if LV_USE_FS_IF #if LV_USE_FS_IF
# define LV_FS_IF_FATFS '\0' # define LV_FS_IF_FATFS '\0'
#if defined(STM32F4xx) // || defined(ARDUINO_ARCH_ESP8266) #if defined(STM32F4xx) // || defined(ARDUINO_ARCH_ESP8266)