From a32983c1f223197f22fa7e2ac0767ac91c7e3885 Mon Sep 17 00:00:00 2001 From: Mitch Bradley Date: Tue, 26 Nov 2024 09:10:20 -1000 Subject: [PATCH] Allow information commands in SafetyDoor state too --- FluidNC/src/Settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FluidNC/src/Settings.cpp b/FluidNC/src/Settings.cpp index ff2ad081b..ae4a3456b 100644 --- a/FluidNC/src/Settings.cpp +++ b/FluidNC/src/Settings.cpp @@ -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);