Precommit fix
This commit is contained in:
parent
50c534cbe5
commit
4aae1b912c
@ -48,6 +48,7 @@ extern RunMode runMode;
|
||||
#elif defined(ESP32C3)
|
||||
#include <FS.h>
|
||||
#include <LittleFS.h>
|
||||
|
||||
#include "esp32c3/rom/rtc.h"
|
||||
#define ESPhttpUpdate httpUpdate
|
||||
#define ESP_RESET ESP.restart
|
||||
@ -68,6 +69,7 @@ extern RunMode runMode;
|
||||
#elif defined(ESP32S2)
|
||||
#include <FS.h>
|
||||
#include <LittleFS.h>
|
||||
|
||||
#include "esp32s2/rom/rtc.h"
|
||||
#define ESPhttpUpdate httpUpdate
|
||||
#define ESP_RESET ESP.restart
|
||||
@ -80,6 +82,7 @@ extern RunMode runMode;
|
||||
#else // defined (ESP32)
|
||||
#include <FS.h>
|
||||
#include <LittleFS.h>
|
||||
|
||||
#include "esp32/rom/rtc.h"
|
||||
#define ESPhttpUpdate httpUpdate
|
||||
#define ESP_RESET ESP.restart
|
||||
@ -92,8 +95,10 @@ extern RunMode runMode;
|
||||
#endif
|
||||
|
||||
#if defined(USE_SERIAL_PINS) && defined(ESP32)
|
||||
// #define EspSerial Serial0 // We cant use Serial on newer boards since this is using USBC port
|
||||
#define EspSerial Serial0 // We cant use Serial on newer boards since this is using USBC port
|
||||
// #define EspSerial Serial0 // We cant use Serial on newer boards since this is
|
||||
// using USBC port
|
||||
#define EspSerial \
|
||||
Serial0 // We cant use Serial on newer boards since this is using USBC port
|
||||
#else
|
||||
#define EspSerial Serial
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user