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:
parent
320bff7393
commit
216534d105
@ -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 = [] {
|
||||
|
Loading…
Reference in New Issue
Block a user