ota.cpp bugfix led define

This commit is contained in:
Verkehrsrot authored and nerdyscout committed 2019-11-21 17:16:36 +00:00
1 parent 4d12aa7cec
commit b5c5e3ce47
1 file changed
+1 -1
+1 -1
View File
@@ -246,7 +246,7 @@ int do_ota_update() {
goto retry;
}
#ifdef HAS_LED
#if (HAS_LED != NOT_A_PIN)
#ifndef LED_ACTIVE_LOW
if (!Update.begin(contentLength, U_FLASH, HAS_LED, HIGH)) {
#else