diff --git a/src/rcommand.cpp b/src/rcommand.cpp index 3c9d2d75..ca01f990 100644 --- a/src/rcommand.cpp +++ b/src/rcommand.cpp @@ -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[]) {