Skip to content

Commit

Permalink
Allow information commands in SafetyDoor state too
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Nov 26, 2024
1 parent ddd4e5a commit a32983c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FluidNC/src/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ bool notIdleOrJog() {
return !state_is(State::Idle) && !state_is(State::Jog);
}
bool notIdleOrAlarm() {
return !state_is(State::Idle) && !state_is(State::Alarm) && !state_is(State::ConfigAlarm);
return !state_is(State::Idle) && !state_is(State::Alarm) && !state_is(State::ConfigAlarm) && !state_is(State::SafetyDoor);
}
bool cycleOrHold() {
return state_is(State::Cycle) || state_is(State::Hold);
Expand Down

0 comments on commit a32983c

Please sign in to comment.