mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-04-22 14:27:21 +00:00
71 lines
1.1 KiB
C
71 lines
1.1 KiB
C
/**
|
|
* @file lv_fs_if.c
|
|
*
|
|
*/
|
|
|
|
/*********************
|
|
* INCLUDES
|
|
*********************/
|
|
#include "lv_fs_if.h"
|
|
|
|
#if LV_USE_FS_IF
|
|
|
|
/*********************
|
|
* DEFINES
|
|
*********************/
|
|
|
|
/**********************
|
|
* TYPEDEFS
|
|
**********************/
|
|
|
|
/**********************
|
|
* STATIC PROTOTYPES
|
|
**********************/
|
|
#if LV_FS_IF_FATFS != '\0'
|
|
void lv_fs_if_fatfs_init(void);
|
|
#endif
|
|
|
|
#if LV_FS_IF_PC != '\0'
|
|
void lv_fs_if_pc_init(void);
|
|
#endif
|
|
|
|
#if LV_FS_IF_SPIFFS != '\0'
|
|
#include "lv_fs_spiffs.h"
|
|
#endif
|
|
|
|
/**********************
|
|
* STATIC VARIABLES
|
|
**********************/
|
|
|
|
/**********************
|
|
* MACROS
|
|
**********************/
|
|
|
|
/**********************
|
|
* GLOBAL FUNCTIONS
|
|
**********************/
|
|
|
|
/**
|
|
* Register driver(s) for the File system interface
|
|
*/
|
|
void lv_fs_if_init(void)
|
|
{
|
|
#if LV_FS_IF_FATFS != '\0'
|
|
lv_fs_if_fatfs_init();
|
|
#endif
|
|
|
|
#if LV_FS_IF_PC != '\0'
|
|
lv_fs_if_pc_init();
|
|
#endif
|
|
|
|
#if LV_FS_IF_SPIFFS != '\0'
|
|
lv_fs_if_spiffs_init();
|
|
#endif
|
|
}
|
|
|
|
/**********************
|
|
* STATIC FUNCTIONS
|
|
**********************/
|
|
|
|
#endif
|