From 42be57d91f8300f61025f42bfe5b049997c07cc9 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Mon, 25 Jul 2022 15:48:15 +0200 Subject: [PATCH] Remove led from esp32 --- ESPFirewall/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ESPFirewall/src/main.cpp b/ESPFirewall/src/main.cpp index 6b68a97..aab0d28 100644 --- a/ESPFirewall/src/main.cpp +++ b/ESPFirewall/src/main.cpp @@ -17,6 +17,7 @@ fw::API *firewallApi; WiFiServer wifiServer(80); +#ifdef ESP8266 void toggleLED() { if (digitalRead(LED) == LOW) @@ -24,6 +25,7 @@ void toggleLED() else digitalWrite(LED, LOW); } +#endif void setup() {