Skip to content

Commit

Permalink
Fix ESP32 "DISABLED" name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 31, 2019
1 parent 1eeef30 commit 0f4d3e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Marlin/src/HAL/HAL_ESP32/web.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0f4d3e1

Please sign in to comment.