bugfix set_countmode

This commit is contained in:
cyberman54 2021-05-07 19:50:22 +02:00
parent a284855f91
commit a17e4a6894

View File

@ -147,6 +147,10 @@ void set_countmode(uint8_t val[]) {
"Remote command: set counter mode called with invalid parameter(s)");
return;
}
#if ((WIFICOUNTER) || (BLECOUNTER))
libpax_counter_stop();
init_libpax(); // re-inits counter mode from cfg.countermode
#endif
}
void set_screensaver(uint8_t val[]) {