Skip to content

Commit

Permalink
Workaround for coolant mist control
Browse files Browse the repository at this point in the history
  • Loading branch information
cprezzi committed Nov 18, 2019
1 parent 843c7b0 commit 84070bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grbl/coolant_control.c
Expand Up @@ -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);
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 84070bf

Please sign in to comment.