add reset after rcommand 09 02

This commit is contained in:
cyberman54 committed 2021-03-22 21:40:24 +01:00
1 parent 0e62683cdf
commit 6b9d6b33b3
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -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");