Refactored to use BOOT (GPIO0) switch for WiFi - so obvious! Shows CFG on WiFi icon if STA+AP and portal running
This commit is contained in:
parent
95c054e19b
commit
1b74359084
2 changed files with 3 additions and 1 deletions
|
@ -123,6 +123,7 @@ bool initWifi(int initpin,const char *failedssid, const char *failedpassword)
|
|||
if(shouldBootIntoConfigPortal()) {
|
||||
DebugPort.println("Manually starting web portal");
|
||||
wm.startWebPortal();
|
||||
isPortalAP = true;
|
||||
}
|
||||
|
||||
return retval;
|
||||
|
|
|
@ -45,5 +45,6 @@ const uint8_t keyRight_pin = 36; // input only, no chip pullup
|
|||
const uint8_t keyLeft_pin = 39; // input only, no chip pullup
|
||||
|
||||
const uint8_t ListenOnlyPin = 33;
|
||||
const uint8_t WiFi_TriggerPin = 25;
|
||||
//const uint8_t WiFi_TriggerPin = 25;
|
||||
const uint8_t WiFi_TriggerPin = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue