thermferm/thermferm.c

changeset 648
62c5ed1b9cfd
parent 646
e3edc783006b
child 651
da166cb8470f
--- 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();

mercurial