Remove redundant call to SetPairButOffOthers
retract.Reset takes care of setting the green LED to blink. Might as well turn of the red LED during reset just in case. Change in memory: Flash: -30 bytes SRAM: 0 bytespull/274/head
parent
113f71330e
commit
9f52482fe2
|
|
@ -56,7 +56,6 @@ void logic::LoadFilament::Reset2(bool feedPhaseLimited) {
|
|||
}
|
||||
|
||||
void logic::LoadFilament::GoToRetractingFromFinda() {
|
||||
ml::leds.SetPairButOffOthers(mg::globals.ActiveSlot(), ml::blink0, ml::off);
|
||||
state = ProgressCode::RetractingFromFinda;
|
||||
error = ErrorCode::RUNNING;
|
||||
retract.Reset();
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace logic {
|
|||
void RetractFromFinda::Reset() {
|
||||
dbg_logic_P(PSTR("\nRetract from FINDA\n\n"));
|
||||
state = EngagingIdler;
|
||||
ml::leds.SetMode(mg::globals.ActiveSlot(), ml::green, ml::blink0);
|
||||
ml::leds.SetPairButOffOthers(mg::globals.ActiveSlot(), ml::blink0, ml::off);
|
||||
mi::idler.Engage(mg::globals.ActiveSlot());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue