diff -r 9322c619c525 -r 4703cc10b99a coolers/sensors.h --- a/coolers/sensors.h Mon May 05 23:33:31 2014 +0200 +++ b/coolers/sensors.h Tue May 06 13:24:25 2014 +0200 @@ -1,6 +1,10 @@ #ifndef MY_SENSORS_H #define MY_SENSORS_H -void my_sensors_loop(void); +#ifdef HAVE_WIRINGPI_H + +PI_THREAD (my_sensors_loop); #endif + +#endif