diff -r 988a898974f3 -r 417ee898fb02 thermferm/units.c --- a/thermferm/units.c Mon Aug 04 19:31:03 2014 +0200 +++ b/thermferm/units.c Mon Aug 04 23:34:22 2014 +0200 @@ -58,6 +58,7 @@ #endif { units_list *unit; + devices_list *device; int rc, temp, deviation; /* @@ -155,7 +156,15 @@ if (my_shutdown) break; - + device_out(unit->heater_address, unit->heater_state); + if (my_shutdown) + break; + device_out(unit->cooler_address, unit->cooler_state); + if (my_shutdown) + break; + device_out(unit->fan_address, unit->fan_state); + if (my_shutdown) + break; } usleep(10000); }