Fix ESP32 "DISABLED" name conflict
This commit is contained in:
parent
1eeef30097
commit
0f4d3e1bca
1 changed files with 3 additions and 2 deletions
|
@ -22,12 +22,13 @@
|
|||
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
||||
|
||||
#include <SPIFFS.h>
|
||||
#undef DISABLED // esp32-hal-gpio.h
|
||||
|
||||
#include "../../inc/MarlinConfigPre.h"
|
||||
|
||||
#if ENABLED(WEBSUPPORT)
|
||||
|
||||
#include <SPIFFS.h>
|
||||
|
||||
#include "wifi.h"
|
||||
|
||||
AsyncEventSource events("/events"); // event source (Server-Sent events)
|
||||
|
|
Reference in a new issue