thermferm/panel.c

changeset 652
16d3d4b58b5b
parent 646
e3edc783006b
child 660
a28ef4d9afa4
--- a/thermferm/panel.c	Wed Mar 27 15:49:31 2024 +0100
+++ b/thermferm/panel.c	Wed Mar 27 17:19:46 2024 +0100
@@ -21,6 +21,7 @@
  *****************************************************************************/
 
 #include "thermferm.h"
+#include "delay.h"
 #include "lcd-pcf8574.h"
 #include "slcd.h"
 #include "panel.h"
@@ -227,7 +228,7 @@
 	/*
 	 * Loop 10 milliseconds
 	 */
-	usleep(10000);
+	mDelay(10);
     }
 
     syslog(LOG_NOTICE, "Thread my_panel_loop stopped");

mercurial