mirror of
https://github.com/revspace/operame
synced 2024-12-04 21:57:30 +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 int portal_phase = 0;
|
||||||
static unsigned long portal_start;
|
static unsigned long portal_start;
|
||||||
WiFiSettings.onPortal = [] {
|
WiFiSettings.onPortal = [] {
|
||||||
if (ota_enabled) setup_ota;
|
if (ota_enabled) setup_ota();
|
||||||
portal_start = millis();
|
portal_start = millis();
|
||||||
};
|
};
|
||||||
WiFiSettings.onPortalView = [] {
|
WiFiSettings.onPortalView = [] {
|
||||||
|
Loading…
Reference in New Issue
Block a user