SPIFFS-backed PersistentStore for ESP32 (#13566)

This commit is contained in:
Kajetan Rzepecki
2019-04-04 03:28:26 +02:00
committed by Scott Lahteine
parent af92ee9dd6
commit b21ca53dfc
5 changed files with 171 additions and 9 deletions

View File

@@ -41,7 +41,10 @@
#endif
#if ENABLED(WEBSUPPORT)
#include "web.h"
#include "spiffs.h"
#endif
#elif ENABLED(EEPROM_SETTINGS)
#include "spiffs.h"
#endif
// --------------------------------------------------------------------------
@@ -95,9 +98,12 @@ void HAL_init(void) {
OTA_init();
#endif
#if ENABLED(WEBSUPPORT)
spiffs_init();
web_init();
#endif
server.begin();
#elif ENABLED(EEPROM_SETTINGS)
spiffs_init();
#endif
i2s_init();