Skip to content

Commit

Permalink
Merge pull request #468 from Paciente8159/fix-tool-helper-macros
Browse files Browse the repository at this point in the history
fixed tool helper macros
  • Loading branch information
Paciente8159 committed Aug 7, 2023
2 parents 4b922c6 + 6ed0c3b commit ef6e153
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uCNC/src/hal/tools/tool_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern "C"

#define SET_SPINDLE(X, Y, W, Z) \
{ \
io_set_output(Y, Z); \
io_set_pinvalue(Y, Z); \
io_set_pwm(X, W); \
}

Expand All @@ -57,8 +57,8 @@ extern "C"
* */
#define SET_COOLANT(X, Y, Z) \
{ \
io_set_output(X, (Z && COOLANT_MASK)); \
io_set_output(Y, (Z && MIST_MASK)); \
io_set_pinvalue(X, (Z && COOLANT_MASK)); \
io_set_pinvalue(Y, (Z && MIST_MASK)); \
}

#ifdef __cplusplus
Expand Down

0 comments on commit ef6e153

Please sign in to comment.