diff --git a/uCNC/src/core/parser.c b/uCNC/src/core/parser.c index 2b761554..9a1b87dd 100644 --- a/uCNC/src/core/parser.c +++ b/uCNC/src/core/parser.c @@ -700,6 +700,7 @@ static uint8_t parser_grbl_exec_code(uint8_t code) } #if ASSERT_PIN(SAFETY_DOOR) + cnc_clear_exec_state(EXEC_DOOR); if (cnc_get_exec_state(EXEC_DOOR)) { return STATUS_CHECK_DOOR;