Workaround for coolant mist control
This commit is contained in:
parent
843c7b01d6
commit
84070bf791
@ -64,6 +64,7 @@ void coolant_stop()
|
|||||||
#else
|
#else
|
||||||
COOLANT_FLOOD_PORT &= ~(1 << COOLANT_FLOOD_BIT);
|
COOLANT_FLOOD_PORT &= ~(1 << COOLANT_FLOOD_BIT);
|
||||||
#endif
|
#endif
|
||||||
|
delay_ms(1); // workaround for toolchain error
|
||||||
#ifdef ENABLE_M7
|
#ifdef ENABLE_M7
|
||||||
#ifdef INVERT_COOLANT_MIST_PIN
|
#ifdef INVERT_COOLANT_MIST_PIN
|
||||||
COOLANT_MIST_PORT |= (1 << COOLANT_MIST_BIT);
|
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);
|
COOLANT_FLOOD_PORT |= (1 << COOLANT_FLOOD_BIT);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
delay_ms(1); // workaround for toolchain error
|
||||||
|
|
||||||
#ifdef ENABLE_M7
|
#ifdef ENABLE_M7
|
||||||
if (mode & COOLANT_MIST_ENABLE) {
|
if (mode & COOLANT_MIST_ENABLE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user