rcommand.cpp: bugfix set_countmode()

This commit is contained in:
Klaus K Wilting committed 2018-10-27 22:40:17 +02:00
1 parent 00b1faab83
commit 88c1dd4e0c
1 file changed
+3
+3
View File
@@ -105,7 +105,10 @@ void set_countmode(uint8_t val[]) {
ESP_LOGW( ESP_LOGW(
TAG, TAG,
"Remote command: set counter mode called with invalid parameter(s)"); "Remote command: set counter mode called with invalid parameter(s)");
return;
} }
reset_counters(); // clear macs
get_salt(); // get new salt
} }
void set_screensaver(uint8_t val[]) { void set_screensaver(uint8_t val[]) {