add reset after rcommand 09 02
This commit is contained in:
1 parent
0e62683cdf
commit
6b9d6b33b3
2 files changed
+4
-3
No files matched your search
+2
-1
@@ -20,8 +20,9 @@ void set_reset(uint8_t val[]) {
|
||||
reset_counters(); // clear macs
|
||||
break;
|
||||
case 2: // reset device to factory settings
|
||||
ESP_LOGI(TAG, "Remote command: reset device to factory settings");
|
||||
ESP_LOGI(TAG, "Remote command: reset device to factory settings and restart");
|
||||
eraseConfig();
|
||||
do_reset(false);
|
||||
break;
|
||||
case 3: // reset send queues
|
||||
ESP_LOGI(TAG, "Remote command: flush send queue");
|
||||
|
||||
Reference in new issue
Block a user