We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62d5490 + 91621eb commit 88605cfCopy full SHA for 88605cf
1 file changed
custom/assets/asset_mount.c
@@ -170,7 +170,13 @@ static void lv_fs_if_init(void)
170
#include "driver/sdmmc_host.h"
171
#include "esp_err.h"
172
#include "esp_log.h"
173
+#if defined(__has_include)
174
+#if __has_include("esp_vfs_fat.h")
175
#include "esp_vfs_fat.h"
176
+#endif
177
+#else
178
+#include "esp_vfs_fat.h"
179
180
#include "sdmmc_cmd.h"
181
#endif
182
0 commit comments