Add the load to nozzle sequence once the MK3S takes control and MMU has disengaged idler.
Also removed ProgressCode::FeedingToNozzle from switch-case since it is not used for this purpose at the moment.
This commit is contained in:
parent
3e77f9f3a1
commit
1c25041134
|
|
@ -348,7 +348,10 @@ bool MMU2::load_filament_to_nozzle(uint8_t index) {
|
|||
// reset current position to whatever the planner thinks it is
|
||||
st_synchronize();
|
||||
plan_set_e_position(current_position[E_AXIS]);
|
||||
|
||||
|
||||
// Finish loading to the nozzle with finely tuned steps.
|
||||
execute_extruder_sequence((const E_Step *)load_to_nozzle_sequence, sizeof(load_to_nozzle_sequence) / sizeof (load_to_nozzle_sequence[0]));
|
||||
|
||||
extruder = index;
|
||||
SetActiveExtruder(0);
|
||||
|
||||
|
|
@ -647,11 +650,6 @@ void MMU2::OnMMUProgressMsg(ProgressCode pc){
|
|||
st_synchronize();
|
||||
loadFilamentStarted = true;
|
||||
break;
|
||||
case ProgressCode::FeedingToNozzle:
|
||||
// prepare for the movement of the E-motor
|
||||
st_synchronize();
|
||||
// Nothing yet
|
||||
break;
|
||||
default:
|
||||
// do nothing yet
|
||||
break;
|
||||
|
|
@ -685,9 +683,6 @@ void MMU2::OnMMUProgressMsg(ProgressCode pc){
|
|||
}
|
||||
}
|
||||
break;
|
||||
case ProgressCode::FeedingToNozzle:
|
||||
execute_extruder_sequence((const E_Step *)load_to_nozzle_sequence, sizeof(load_to_nozzle_sequence) / sizeof (load_to_nozzle_sequence[0]));
|
||||
break;
|
||||
default:
|
||||
// do nothing yet
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue