Reenable command processing when issue is fixed if printer not active
This commit is contained in:
parent
9d57f9c365
commit
ace1d7049a
|
|
@ -505,7 +505,9 @@ void checkFanSpeed()
|
||||||
// we may even send some info to the LCD from here
|
// we may even send some info to the LCD from here
|
||||||
fan_check_error = EFCE_FIXED;
|
fan_check_error = EFCE_FIXED;
|
||||||
}
|
}
|
||||||
|
if ((fan_check_error == EFCE_FIXED) && !PRINTER_ACTIVE){
|
||||||
|
fan_check_error = EFCE_OK; //if the issue is fixed while the printer is doing nothing, reenable processing immediately.
|
||||||
|
}
|
||||||
if ((fan_speed_errors[0] > max_extruder_fan_errors) && fans_check_enabled && (fan_check_error == EFCE_OK)) {
|
if ((fan_speed_errors[0] > max_extruder_fan_errors) && fans_check_enabled && (fan_check_error == EFCE_OK)) {
|
||||||
fan_speed_errors[0] = 0;
|
fan_speed_errors[0] = 0;
|
||||||
fanSpeedError(0); //extruder fan
|
fanSpeedError(0); //extruder fan
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue