kopia lustrzana https://github.com/martin-ger/esp_mqtt
reset wait
rodzic
ac9041d2d1
commit
358672e085
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -1,2 +1,2 @@
|
||||||
fc934837e57507b0e318ae84738b9838584efbab 0x00000.bin
|
0388ae2e0e8a790a8bc05f58af545364a7450b20 0x00000.bin
|
||||||
e35e62cba7daba715dc97b08c77ea93bee07c966 0x10000.bin
|
a375ec4ac364e900b5526b06f475e6b769547476 0x10000.bin
|
||||||
|
|
|
@ -508,10 +508,8 @@ void ICACHE_FLASH_ATTR console_handle_command(struct espconn *pespconn) {
|
||||||
save_retainedtopics();
|
save_retainedtopics();
|
||||||
|
|
||||||
os_printf("Restarting ... \r\n");
|
os_printf("Restarting ... \r\n");
|
||||||
system_restart(); // if it works this will not return
|
system_restart();
|
||||||
|
while (true);
|
||||||
os_sprintf(response, "Reset failed\r\n");
|
|
||||||
goto command_handled;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(tokens[0], "quit") == 0) {
|
if (strcmp(tokens[0], "quit") == 0) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef _USER_CONFIG_
|
#ifndef _USER_CONFIG_
|
||||||
#define _USER_CONFIG_
|
#define _USER_CONFIG_
|
||||||
|
|
||||||
#define ESP_UBROKER_VERSION "V2.0.5"
|
#define ESP_UBROKER_VERSION "V2.0.6"
|
||||||
|
|
||||||
#define WIFI_SSID "ssid"
|
#define WIFI_SSID "ssid"
|
||||||
#define WIFI_PASSWORD "password"
|
#define WIFI_PASSWORD "password"
|
||||||
|
|
Ładowanie…
Reference in New Issue