瀏覽代碼

Unload filament after MMU load failed so MMU unit can be controlled by its buttons.

Marek Bel 6 年之前
父節點
當前提交
d33b24c281
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      Firmware/mmu.cpp

+ 4 - 1
Firmware/mmu.cpp

@@ -1394,7 +1394,10 @@ void mmu_continue_loading()
 			current_position[Y_AXIS] = Y_PAUSE_POS;
 			plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 50, active_extruder);
 			st_synchronize();
-			//set nozzle target temperature to 0
+
+			mmu_command(MMU_CMD_U0);
+			manage_response(false, true, MMU_UNLOAD_MOVE);
+
 			setAllTargetHotends(0);
 			lcd_setstatuspgm(_i("MMU load failed     "));////MSG_RECOVERING_PRINT c=20 r=1
 			mmu_fil_loaded = false; //so we can retry same T-code again