diff -r fcd85176ea2e -r 62c5ed1b9cfd thermferm/thermferm.c --- a/thermferm/thermferm.c Sat Mar 23 20:28:17 2024 +0100 +++ b/thermferm/thermferm.c Sun Mar 24 17:12:23 2024 +0100 @@ -1911,7 +1911,7 @@ * Note that we don't care if the command server is stopped, this one * does almost certain keep running but tat doesn't harm. */ - while ((my_devices_state + my_panel_state + my_simulator_state) > 0) {}; + while ((my_devices_state + my_panel_state + my_simulator_state) > 0) { sleep(1); }; mqtt_disconnect(); stopLCD();