Fix compilation error due to "SPIFFS.h" in esp8266

thanks @marciot  for pointing this
Fixes #488
This commit is contained in:
Luc 2020-07-30 08:55:47 +02:00
parent beafccced6
commit fa2b29160b

View File

@ -24,7 +24,9 @@
#error No FileSystem defined #error No FileSystem defined
#endif #endif
#if FILESYSTEM_FEATURE == ESP_SPIFFS_FILESYSTEM #if FILESYSTEM_FEATURE == ESP_SPIFFS_FILESYSTEM
#include "SPIFFS.h" #if defined(ARDUINO_ARCH_ESP32)
#include <SPIFFS.h>
#endif //ARDUINO_ARCH_ESP32
#else #else
#if FILESYSTEM_FEATURE == ESP_FAT_FILESYSTEM #if FILESYSTEM_FEATURE == ESP_FAT_FILESYSTEM
#include "FFat.h" #include "FFat.h"