Fix bug: OTA not enabled in portal

Thanks, Bertrik!
This commit is contained in:
Juerd Waalboer 2020-12-30 16:45:52 +01:00
parent 320bff7393
commit 216534d105
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ void setup() {
static int portal_phase = 0;
static unsigned long portal_start;
WiFiSettings.onPortal = [] {
if (ota_enabled) setup_ota;
if (ota_enabled) setup_ota();
portal_start = millis();
};
WiFiSettings.onPortalView = [] {