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) { |