浏览代码

PFW-1386 M701 now loads to nozzle with MMU

Guðni Már Gilbert 2 年之前
父节点
当前提交
94dd4aec73
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      Firmware/Marlin_main.cpp

+ 2 - 3
Firmware/Marlin_main.cpp

@@ -3676,8 +3676,7 @@ void gcode_M701(uint8_t mmuSlotIndex){
     prusa_statistics(22);
 
     if (MMU2::mmu2.Enabled() && mmuSlotIndex < MMU_FILAMENT_COUNT) {
-        MMU2::mmu2.load_filament(mmuSlotIndex); // loads current extruder
-        // mmu_extruder = mmuSlotIndex; // @@TODO shall load filament set current tool to some specific index? We don't do that anymore.
+        MMU2::mmu2.load_filament_to_nozzle(mmuSlotIndex);
     } else {
         enable_z();
         custom_message_type = CustomMsg::FilamentLoading;
@@ -8572,7 +8571,7 @@ Sigma_Exit:
     break;
 
     /*!
-    ### M701 - Load filament <a href="https://reprap.org/wiki/G-code#M701:_Load_filament">M701: Load filament</a>
+    ### M701 - Load filament to extruder <a href="https://reprap.org/wiki/G-code#M701:_Load_filament">M701: Load filament</a>
     Load filament into the active extruder.
     #### Usage