Removed excess logging when overheated
This commit is contained in:
+2
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user