Remove led from esp32

This commit is contained in:
Florian Hoss 2022-07-25 15:48:15 +02:00
parent 5f70efbe1e
commit 42be57d91f

View file

@ -17,6 +17,7 @@ fw::API *firewallApi;
WiFiServer wifiServer(80); WiFiServer wifiServer(80);
#ifdef ESP8266
void toggleLED() void toggleLED()
{ {
if (digitalRead(LED) == LOW) if (digitalRead(LED) == LOW)
@ -24,6 +25,7 @@ void toggleLED()
else else
digitalWrite(LED, LOW); digitalWrite(LED, LOW);
} }
#endif
void setup() void setup()
{ {