|
@@ -307,6 +307,7 @@ bool MMU2::tool_change(uint8_t index) {
|
|
plan_set_e_position(current_position[E_AXIS]);
|
|
plan_set_e_position(current_position[E_AXIS]);
|
|
|
|
|
|
extruder = index; //filament change is finished
|
|
extruder = index; //filament change is finished
|
|
|
|
+ SpoolJoin::spooljoin.setSlot(index);
|
|
|
|
|
|
// @@TODO really report onto the serial? May be for the Octoprint? Not important now
|
|
// @@TODO really report onto the serial? May be for the Octoprint? Not important now
|
|
// SERIAL_ECHO_START();
|
|
// SERIAL_ECHO_START();
|
|
@@ -339,6 +340,7 @@ bool MMU2::tool_change(char code, uint8_t slot) {
|
|
logic.ToolChange(slot);
|
|
logic.ToolChange(slot);
|
|
manage_response(false, false);
|
|
manage_response(false, false);
|
|
extruder = slot;
|
|
extruder = slot;
|
|
|
|
+ SpoolJoin::spooljoin.setSlot(slot);
|
|
set_extrude_min_temp(EXTRUDE_MINTEMP);
|
|
set_extrude_min_temp(EXTRUDE_MINTEMP);
|
|
} break;
|
|
} break;
|
|
|
|
|
|
@@ -485,6 +487,7 @@ bool MMU2::load_filament_to_nozzle(uint8_t index) {
|
|
execute_extruder_sequence((const E_Step *)load_to_nozzle_sequence, sizeof(load_to_nozzle_sequence) / sizeof (load_to_nozzle_sequence[0]));
|
|
execute_extruder_sequence((const E_Step *)load_to_nozzle_sequence, sizeof(load_to_nozzle_sequence) / sizeof (load_to_nozzle_sequence[0]));
|
|
|
|
|
|
extruder = index;
|
|
extruder = index;
|
|
|
|
+ SpoolJoin::spooljoin.setSlot(index);
|
|
|
|
|
|
Sound_MakeSound(e_SOUND_TYPE_StandardConfirm);
|
|
Sound_MakeSound(e_SOUND_TYPE_StandardConfirm);
|
|
}
|
|
}
|