소스 검색

test fan check error only when enabled by #ifdef

DRracer 5 년 전
부모
커밋
13c3ab14fa
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);