Reenable command processing when issue is fixed if printer not active

This commit is contained in:
leptun 2019-10-17 17:49:15 +03:00
parent 9d57f9c365
commit ace1d7049a
1 changed files with 3 additions and 1 deletions

View File

@ -505,7 +505,9 @@ void checkFanSpeed()
// we may even send some info to the LCD from here
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)) {
fan_speed_errors[0] = 0;
fanSpeedError(0); //extruder fan