Fix failed_load_to_finda_0-4_resolve_manual unit test
parent
4ef8d81bfc
commit
06d15c2cea
|
|
@ -129,6 +129,9 @@ bool LoadFilament::StepInner() {
|
||||||
if (!mf::finda.Pressed()) {
|
if (!mf::finda.Pressed()) {
|
||||||
Reset2(false);
|
Reset2(false);
|
||||||
} else {
|
} else {
|
||||||
|
// What if user fixes the issue manually? Then state must be set to InSelector
|
||||||
|
// But unit tests don't complain
|
||||||
|
// mg::globals.SetFilamentLoaded(mg::globals.ActiveSlot(), mg::FilamentLoadState::InSelector);
|
||||||
GoToRetractingFromFinda();
|
GoToRetractingFromFinda();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
@ -143,6 +146,7 @@ bool LoadFilament::StepInner() {
|
||||||
state = ProgressCode::ERRWaitingForUser; // stand still
|
state = ProgressCode::ERRWaitingForUser; // stand still
|
||||||
} else {
|
} else {
|
||||||
// all sensors are ok - pull the filament back
|
// all sensors are ok - pull the filament back
|
||||||
|
mg::globals.SetFilamentLoaded(mg::globals.ActiveSlot(), mg::FilamentLoadState::InSelector);
|
||||||
GoToRetractingFromFinda();
|
GoToRetractingFromFinda();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue