diff --git a/heater_v3.ino b/heater_v3.ino index 4781023..95d2ac3 100644 --- a/heater_v3.ino +++ b/heater_v3.ino @@ -287,6 +287,7 @@ void loop() { cur_state = 1; } + else if (current_t > target_t + T_HYSTERESIS) { cur_state = 0; @@ -298,7 +299,7 @@ void loop() } if (relay_t > CRITICAL_T) { - Serial.printf("Critical overheat, t = %d\n", relay_t); + //Serial.printf("Critical overheat, t = %d\n", relay_t); cur_state = 0; overheat = 1; }