Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Fix MAP macro use
Browse files Browse the repository at this point in the history
Followup to #24191
  • Loading branch information
thinkyhead committed Jul 29, 2022
1 parent 6523b92 commit fa50d2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Marlin/src/feature/spindle_laser.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#define PCT_TO_PWM(X) ((X) * 255 / 100)
#define PCT_TO_SERVO(X) ((X) * 180 / 100)


// Laser/Cutter operation mode
enum CutterMode : int8_t {
CUTTER_MODE_ERROR = -1,
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/module/stepper/trinamic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ void reset_trinamic_drivers() {

#define TMC_SWSERIAL_CONFLICT_MSG(A) STRINGIFY(A) "_SLAVE_ADDRESS conflicts with another driver using the same " STRINGIFY(A) "_SERIAL_RX_PIN or " STRINGIFY(A) "_SERIAL_TX_PIN"
#define SA_NO_TMC_SW_C(A) static_assert(1 >= count_tmc_sw_serial_matches(TMC_SW_DETAIL_ARGS(A), 0, COUNT(sanity_tmc_sw_details)), TMC_SWSERIAL_CONFLICT_MSG(A));
MAPLIST(SA_NO_TMC_SW_C, ALL_AXIS_NAMES)
MAP(SA_NO_TMC_SW_C, ALL_AXIS_NAMES)
#endif

#endif // HAS_TRINAMIC_CONFIG

0 comments on commit fa50d2c

Please sign in to comment.