Initial commit for loading filament to the nozzle

This commit is contained in:
Guðni Már Gilbert 2022-05-14 12:49:40 +00:00 committed by D.R.racer
parent 87ed42ba9b
commit 50cd6e77cc
1 changed files with 3 additions and 1 deletions

View File

@ -647,6 +647,8 @@ void MMU2::OnMMUProgressMsg(ProgressCode pc){
loadFilamentStarted = true;
break;
case ProgressCode::FeedingToNozzle:
// prepare for the movement of the E-motor
st_synchronize();
// Nothing yet
break;
default:
@ -679,7 +681,7 @@ void MMU2::OnMMUProgressMsg(ProgressCode pc){
}
break;
case ProgressCode::FeedingToNozzle:
// Nothing yet
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