Add setup option to upload new firmware
This commit is contained in:
parent
3c35b5b204
commit
d91aa4cfc7
|
@ -33,7 +33,7 @@ void network_setup(char *password) {
|
||||||
WiFiManagerNS::NTP::onTimeAvailable(&on_time_available);
|
WiFiManagerNS::NTP::onTimeAvailable(&on_time_available);
|
||||||
WiFiManagerNS::init(&wfm);
|
WiFiManagerNS::init(&wfm);
|
||||||
|
|
||||||
std::vector<const char *> menu = {"wifi", "info", "custom", "param", "sep", "restart", "exit"};
|
std::vector<const char *> menu = {"wifi", "info", "custom", "param", "sep", "update", "restart", "exit"};
|
||||||
wfm.setMenu(menu);
|
wfm.setMenu(menu);
|
||||||
wfm.setConfigPortalBlocking(false);
|
wfm.setConfigPortalBlocking(false);
|
||||||
wfm.setHostname(hostname);
|
wfm.setHostname(hostname);
|
||||||
|
|
Loading…
Reference in New Issue