From a84aa1800c1feef2bec2808ebe23ff06d14ad69f Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 9 Jun 2018 18:47:01 -0500 Subject: [PATCH] Fix apparent error in restore masking that causes the call to coolant_set_state to not re-enable the mist (M7) output if it was previously enabled. (#469) --- grbl/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grbl/protocol.c b/grbl/protocol.c index 09b2ac8..90ef776 100644 --- a/grbl/protocol.c +++ b/grbl/protocol.c @@ -680,7 +680,7 @@ static void protocol_exec_rt_suspend() // Block if safety door re-opened during prior restore actions. if (bit_isfalse(sys.suspend,SUSPEND_RESTART_RETRACT)) { // NOTE: Laser mode will honor this delay. An exhaust system is often controlled by this pin. - coolant_set_state((restore_condition & (PL_COND_FLAG_COOLANT_FLOOD | PL_COND_FLAG_COOLANT_FLOOD))); + coolant_set_state((restore_condition & (PL_COND_FLAG_COOLANT_FLOOD | PL_COND_FLAG_COOLANT_MIST))); delay_sec(SAFETY_DOOR_COOLANT_DELAY, DELAY_MODE_SYS_SUSPEND); } }