1
0
mirror of https://github.com/revspace/operame synced 2024-12-04 13:47:29 +00:00

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

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 = [] {