PFW-1386 M701 now loads to nozzle with MMU

This commit is contained in:
Guðni Már Gilbert 2022-08-27 10:38:16 +00:00 committed by D.R.racer
parent 8462b38446
commit 94dd4aec73
1 changed files with 2 additions and 3 deletions

View File

@ -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