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::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.setConfigPortalBlocking(false);
|
||||
wfm.setHostname(hostname);
|
||||
|
|
Loading…
Reference in New Issue