Skip to content

Commit

Permalink
Fix _DRIVER_THRS
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 3, 2024
1 parent 0491a15 commit e6b4cae
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Marlin/src/core/drivers.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@
#endif

// Hybrid Threshold ranges
#define _TMC2100_THRS 65535
#define _TMC2130_THRS 65535
#define _TMC2160_THRS 255
#define _TMC2208_THRS 255
#define _TMC2209_THRS 255
#define _TMC2660_THRS 65535
#define _TMC5130_THRS 65535
#define _TMC5160_THRS 65535

#define _DRIVER_THRS(V) _CAT(_, V, _THRS)
#define THRS_TMC2100 65535
#define THRS_TMC2130 65535
#define THRS_TMC2160 255
#define THRS_TMC2208 255
#define THRS_TMC2209 255
#define THRS_TMC2660 65535
#define THRS_TMC5130 65535
#define THRS_TMC5160 65535

#define _DRIVER_THRS(V) CAT(THRS_, V)
#define STEPPER_MAX_THRS(S) _DRIVER_THRS(S##_DRIVER_TYPE)

0 comments on commit e6b4cae

Please sign in to comment.