Fix compile error on linux
This commit is contained in:
parent
aa4e3b5e8d
commit
f1936b6b0d
@ -28,16 +28,16 @@ SOFTWARE.
|
|||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <ArduinoLog.h>
|
#include <ArduinoLog.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <LITTLEFS.h>
|
|
||||||
//#include <LittleFS.h>
|
|
||||||
|
|
||||||
#if defined (ESP8266)
|
#if defined (ESP8266)
|
||||||
|
#include <LittleFS.h>
|
||||||
#define ESP_RESET ESP.reset
|
#define ESP_RESET ESP.reset
|
||||||
#define PIN_SDA D3
|
#define PIN_SDA D3
|
||||||
#define PIN_SCL D4
|
#define PIN_SCL D4
|
||||||
#define PIN_DS D6
|
#define PIN_DS D6
|
||||||
#define PIN_A0 A0
|
#define PIN_A0 A0
|
||||||
#else // defined (ESP32)
|
#else // defined (ESP32)
|
||||||
|
#include <LITTLEFS.h>
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
#define LittleFS LITTLEFS
|
#define LittleFS LITTLEFS
|
||||||
#define ESPhttpUpdate httpUpdate
|
#define ESPhttpUpdate httpUpdate
|
||||||
|
Loading…
Reference in New Issue
Block a user