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() {