ota.cpp bugfix led define
This commit is contained in:
parent
3d9cc26f97
commit
65a205a164
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user