Browse Source

Reenable command processing when issue is fixed if printer not active

leptun 4 years ago
parent
commit
ace1d7049a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Firmware/temperature.cpp

+ 3 - 1
Firmware/temperature.cpp

@@ -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