Fix ESP32 "DISABLED" name conflict

This commit is contained in:
Scott Lahteine 2019-08-29 18:16:50 -05:00
parent 1eeef30097
commit 0f4d3e1bca

View file

@ -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)