rcommand.cpp: bugfix set_countmode()

This commit is contained in:
Klaus K Wilting 2018-10-27 22:40:17 +02:00
parent 00b1faab83
commit 88c1dd4e0c

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[]) {