Browse Source

test fan check error only when enabled by #ifdef

DRracer 5 years ago
parent
commit
13c3ab14fa
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Firmware/Marlin_main.cpp

+ 2 - 0
Firmware/Marlin_main.cpp

@@ -9324,8 +9324,10 @@ void restore_print_from_ram_and_continue(float e_move)
 {
 	if (!saved_printing) return;
 	
+#ifdef FANCHECK
 	// Do not allow resume printing if fans are still not ok
 	if( fan_check_error != EFCE_OK )return;
+#endif
 	
 //	for (int axis = X_AXIS; axis <= E_AXIS; axis++)
 //	    current_position[axis] = st_get_position_mm(axis);