brewco/brewco.c

changeset 450
8fe99759c27f
parent 446
78e9d5234d15
child 451
2247970de278
equal deleted inserted replaced
449:1277fb94999f 450:8fe99759c27f
188 for (unit = Config.units; unit; unit = unit->next) { 188 for (unit = Config.units; unit; unit = unit->next) {
189 /* 189 /*
190 * Safety, turn everything off 190 * Safety, turn everything off
191 */ 191 */
192 if (unit->active) { 192 if (unit->active) {
193 if (unit->hlt_heater) 193 unit->hlt_heater.value = 0;
194 unit->hlt_heater->value = 0; 194 unit->mlt_heater.value = 0;
195 if (unit->mlt_heater) 195 unit->mlt_pump.value = 0;
196 unit->mlt_heater->value = 0;
197 if (unit->mlt_pump)
198 unit->mlt_pump->value = 0;
199 } 196 }
200 } 197 }
201 198
202 if (! Config.units) { 199 if (! Config.units) {
203 /* 200 /*

mercurial