From 84070bf79116ffeec5168a86fdce5795f78a89da Mon Sep 17 00:00:00 2001 From: cprezzi Date: Mon, 18 Nov 2019 14:29:56 +0100 Subject: [PATCH] Workaround for coolant mist control --- grbl/coolant_control.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grbl/coolant_control.c b/grbl/coolant_control.c index 418cdac..9ef03c3 100644 --- a/grbl/coolant_control.c +++ b/grbl/coolant_control.c @@ -64,6 +64,7 @@ void coolant_stop() #else COOLANT_FLOOD_PORT &= ~(1 << COOLANT_FLOOD_BIT); #endif + delay_ms(1); // workaround for toolchain error #ifdef ENABLE_M7 #ifdef INVERT_COOLANT_MIST_PIN COOLANT_MIST_PORT |= (1 << COOLANT_MIST_BIT); @@ -95,6 +96,7 @@ void coolant_set_state(uint8_t mode) COOLANT_FLOOD_PORT |= (1 << COOLANT_FLOOD_BIT); #endif } + delay_ms(1); // workaround for toolchain error #ifdef ENABLE_M7 if (mode & COOLANT_MIST_ENABLE) {