Add RESET/CONFIG/SAFEMODE to command line

[ESP444]RESET will set default values to EEPROM and restart module
[ESP444]CONFIG will display EEPROM but password
[ESP444]SAFEMODE will switch to safe mode = default mode but without
modifying EEPROM and no restart
This commit is contained in:
luc
2015-10-21 20:38:07 +08:00
parent 26ce0ba15b
commit 65ec16f4d5
5 changed files with 41 additions and 18 deletions

View File

@@ -57,6 +57,8 @@ WiFiClient serverClients[MAX_SRV_CLIENTS];
void setup() {
// init :
web_interface = NULL;
data_server = NULL;
// ESP.wdtDisable();
system_update_cpu_freq(SYS_CPU_160MHZ);
delay(8000);