brewco/simulator.c

changeset 459
1f88be70f253
parent 456
045db83dd013
child 473
fdd30e935079
equal deleted inserted replaced
458:43a8ecb53637 459:1f88be70f253
113 if (now != last) { 113 if (now != last) {
114 last = now; 114 last = now;
115 /* 115 /*
116 * Each second 116 * Each second
117 */ 117 */
118 if (debug) 118 // if (debug)
119 fprintf(stdout, "HLT temp=%f plate=%f val=%d MLT temp=%f plate=%f val=%d Room %.1f loops=%d cool=%s\n", 119 // fprintf(stdout, "HLT temp=%f plate=%f val=%d MLT temp=%f plate=%f val=%d Room %.1f loops=%d cool=%s\n",
120 Config.simulator->hlt_temperature, Config.simulator->hlt_heater_temp, Config.simulator->hlt_heater_state, 120 // Config.simulator->hlt_temperature, Config.simulator->hlt_heater_temp, Config.simulator->hlt_heater_state,
121 Config.simulator->mlt_temperature, Config.simulator->mlt_heater_temp, Config.simulator->mlt_heater_state, 121 // Config.simulator->mlt_temperature, Config.simulator->mlt_heater_temp, Config.simulator->mlt_heater_state,
122 Config.simulator->room_temperature, loops, SIM_cooler ? "Yes":"No"); 122 // Config.simulator->room_temperature, loops, SIM_cooler ? "Yes":"No");
123 loops = 0; 123 loops = 0;
124 } 124 }
125 usleep(50000); 125 usleep(50000);
126 } 126 }
127 127

mercurial