浏览代码

waiting for PINDA to cool down

PavelSindler 8 年之前
父节点
当前提交
329e1ac9bb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Firmware/Marlin_main.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

@@ -2816,7 +2816,7 @@ void process_commands()
 		plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 3000 / 60, active_extruder);
 		st_synchronize();
 
-		while (degBed() < PINDA_MIN_T) delay_keep_alive(1000);
+		while (abs(degBed() - PINDA_MIN_T) > 1 ) delay_keep_alive(1000);
 		
 		//enquecommand_P(PSTR("M190 S50"));
 		for (int i = 0; i < PINDA_HEAT_T; i++)	delay_keep_alive(1000);