thermferm/panel.c

changeset 652
16d3d4b58b5b
parent 646
e3edc783006b
child 660
a28ef4d9afa4
equal deleted inserted replaced
651:da166cb8470f 652:16d3d4b58b5b
19 * along with ThermFerm; see the file COPYING. If not, write to the Free 19 * along with ThermFerm; see the file COPYING. If not, write to the Free
20 * Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 20 * Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 *****************************************************************************/ 21 *****************************************************************************/
22 22
23 #include "thermferm.h" 23 #include "thermferm.h"
24 #include "delay.h"
24 #include "lcd-pcf8574.h" 25 #include "lcd-pcf8574.h"
25 #include "slcd.h" 26 #include "slcd.h"
26 #include "panel.h" 27 #include "panel.h"
27 28
28 29
225 } 226 }
226 227
227 /* 228 /*
228 * Loop 10 milliseconds 229 * Loop 10 milliseconds
229 */ 230 */
230 usleep(10000); 231 mDelay(10);
231 } 232 }
232 233
233 syslog(LOG_NOTICE, "Thread my_panel_loop stopped"); 234 syslog(LOG_NOTICE, "Thread my_panel_loop stopped");
234 my_panel_state = 0; 235 my_panel_state = 0;
235 return 0; 236 return 0;

mercurial