Minor prescalar optimization. Changed up some defines.
This commit is contained in:
parent
420c7c2584
commit
4224ab4999
4 changed files with 27 additions and 28 deletions
|
|
@ -39,7 +39,7 @@ void coolant_init()
|
|||
|
||||
void coolant_stop()
|
||||
{
|
||||
#if ENABLE_M7
|
||||
#ifdef ENABLE_M7
|
||||
COOLANT_MIST_PORT &= ~(1 << COOLANT_MIST_BIT);
|
||||
#endif
|
||||
COOLANT_FLOOD_PORT &= ~(1 << COOLANT_FLOOD_BIT);
|
||||
|
|
@ -53,7 +53,7 @@ void coolant_run(uint8_t mode)
|
|||
plan_synchronize(); // Ensure coolant turns on when specified in program.
|
||||
if (mode == COOLANT_FLOOD_ENABLE) {
|
||||
COOLANT_FLOOD_PORT |= (1 << COOLANT_FLOOD_BIT);
|
||||
#if ENABLE_M7
|
||||
#ifdef ENABLE_M7
|
||||
} else if (mode == COOLANT_MIST_ENABLE) {
|
||||
COOLANT_MIST_PORT |= (1 << COOLANT_MIST_BIT);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue