Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pause: Make sure that the filament type is updated on mmu_change as well #4170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/marlin_stubs/pause/pause.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ void Pause::loop_load_common(Response response, CommonLoadType load_type) {
case CommonLoadType::autoload:
// if filament is not present we want to break and not set loaded filament
// we have already loaded the filament in gear, now just wait for temperature to rise
config_store().set_filament_type(settings.GetExtruder(), filament::get_type_to_load());
set(LoadPhases_t::wait_temp);
handle_filament_removal(LoadPhases_t::check_filament_sensor_and_user_push__ask);
break;
Expand All @@ -495,8 +494,6 @@ void Pause::loop_load_common(Response response, CommonLoadType load_type) {
break;
}

config_store().set_filament_type(settings.GetExtruder(), filament::get_type_to_load());

setPhase(PhasesLoadUnload::IsColor, 99);
set(LoadPhases_t::ask_is_color_correct);
break;
Expand All @@ -516,6 +513,7 @@ void Pause::loop_load_common(Response response, CommonLoadType load_type) {
set(LoadPhases_t::check_filament_sensor_and_user_push__ask);
break;
}
config_store().set_filament_type(settings.GetExtruder(), filament::get_type_to_load());
break;

case LoadPhases_t::check_filament_sensor_and_user_push__ask:
Expand Down