/Designs/MRAKOMER4/SW/irmrak4.c
136,6 → 136,8
if (heat>0) heat--;
if (open>0) open--;
 
if (heat>0) { output_high(HEATING); } else { output_low(HEATING); }
 
safety_counter=0;
//---WDT
restart_wdt();
213,8 → 215,6
j=0; while(output[j]!=0) { delay(SEND_DELAY); putc(output[j++]); }
}
 
if(heat>0) { output_high(HEATING); } else { output_low(HEATING); }
 
delay(MEASURE_DELAY); // Delay to a next measurement
//---WDT
restart_wdt();