1.2-legacy
Charles Crossan 2020-12-20 21:47:46 -05:00
rodzic dcb9125b32
commit 7f59e76c72
1 zmienionych plików z 8 dodań i 10 usunięć

Wyświetl plik

@ -989,16 +989,14 @@ void handleBlinkLED(HTTPRequest *req, HTTPResponse *res)
if (blink_target == "LED") { if (blink_target == "LED") {
uint8_t count = 10; uint8_t count = 10;
while (count > 0) while (count > 0) {
{
setLed(true); setLed(true);
delay(50); delay(50);
setLed(false); setLed(false);
delay(50); delay(50);
count = count - 1; count = count - 1;
} }
} } else {
else {
screen->blink(); screen->blink();
} }