mirror of
https://github.com/revspace/operame
synced 2025-11-19 12:46:32 +00:00
Fix bug: OTA not enabled in portal
Thanks, Bertrik!
This commit is contained in:
parent
320bff7393
commit
216534d105
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue