PFW-1386 M701 now loads to nozzle with MMU
This commit is contained in:
parent
8462b38446
commit
94dd4aec73
|
|
@ -3676,8 +3676,7 @@ void gcode_M701(uint8_t mmuSlotIndex){
|
||||||
prusa_statistics(22);
|
prusa_statistics(22);
|
||||||
|
|
||||||
if (MMU2::mmu2.Enabled() && mmuSlotIndex < MMU_FILAMENT_COUNT) {
|
if (MMU2::mmu2.Enabled() && mmuSlotIndex < MMU_FILAMENT_COUNT) {
|
||||||
MMU2::mmu2.load_filament(mmuSlotIndex); // loads current extruder
|
MMU2::mmu2.load_filament_to_nozzle(mmuSlotIndex);
|
||||||
// mmu_extruder = mmuSlotIndex; // @@TODO shall load filament set current tool to some specific index? We don't do that anymore.
|
|
||||||
} else {
|
} else {
|
||||||
enable_z();
|
enable_z();
|
||||||
custom_message_type = CustomMsg::FilamentLoading;
|
custom_message_type = CustomMsg::FilamentLoading;
|
||||||
|
|
@ -8572,7 +8571,7 @@ Sigma_Exit:
|
||||||
break;
|
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.
|
Load filament into the active extruder.
|
||||||
#### Usage
|
#### Usage
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue