Removed excess logging when overheated

This commit is contained in:
ftc
2023-03-14 20:30:26 +03:00
parent 860fc81385
commit 4eed014c96
+2 -1
View File
@@ -287,6 +287,7 @@ void loop()
{ {
cur_state = 1; cur_state = 1;
} }
else if (current_t > target_t + T_HYSTERESIS) else if (current_t > target_t + T_HYSTERESIS)
{ {
cur_state = 0; cur_state = 0;
@@ -298,7 +299,7 @@ void loop()
} }
if (relay_t > CRITICAL_T) 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; cur_state = 0;
overheat = 1; overheat = 1;
} }