thermferm/thermferm.c

changeset 199
3f5d277a69e3
parent 198
20716bcff2b0
child 200
a215ddaabbe2
equal deleted inserted replaced
198:20716bcff2b0 199:3f5d277a69e3
300 #ifndef HAVE_WIRINGPI_H 300 #ifndef HAVE_WIRINGPI_H
301 } else { 301 } else {
302 t++; 302 t++;
303 #endif 303 #endif
304 } 304 }
305
306 #ifdef HAVE_WIRINGPI_H
307 rc = piThreadCreate(my_panel_loop);
308 if (rc) {
309 fprintf(stderr, "my_panel_loop thread didn't start rc=%d\n", rc);
310 syslog(LOG_NOTICE, "my_panel_loop thread didn't start rc=%d", rc);
311 }
312 #endif
305 313
306 /* 314 /*
307 * Initialize units for processing 315 * Initialize units for processing
308 */ 316 */
309 for (unit = Config.units; unit; unit = unit->next) { 317 for (unit = Config.units; unit; unit = unit->next) {

mercurial