thermferm/simulator.c

changeset 497
18ace27338e5
parent 366
7b698d012a0c
child 550
04c942cded91
equal deleted inserted replaced
496:5cf6f099c897 497:18ace27338e5
55 */ 55 */
56 simulator->s_heat_temp = simulator->s_cool_temp = simulator->room_temperature; 56 simulator->s_heat_temp = simulator->s_cool_temp = simulator->room_temperature;
57 } 57 }
58 58
59 for (;;) { 59 for (;;) {
60 if (my_shutdown)
61 break;
62
60 for (simulator = Config.simulators; simulator; simulator = simulator->next) { 63 for (simulator = Config.simulators; simulator; simulator = simulator->next) {
61 if (my_shutdown) 64 if (my_shutdown)
62 break; 65 break;
63 66
64 now = time(NULL); 67 now = time(NULL);

mercurial