Fix Trinamic pulse rate auto-assignment (#16966)
This commit is contained in:
parent
b5c2190b38
commit
e76f2ed4cb
|
@ -645,7 +645,7 @@
|
||||||
#define MINIMUM_STEPPER_PULSE 2
|
#define MINIMUM_STEPPER_PULSE 2
|
||||||
#elif HAS_DRIVER(A4988) || HAS_DRIVER(A5984)
|
#elif HAS_DRIVER(A4988) || HAS_DRIVER(A5984)
|
||||||
#define MINIMUM_STEPPER_PULSE 1
|
#define MINIMUM_STEPPER_PULSE 1
|
||||||
#elif TRINAMICS
|
#elif HAS_TRINAMIC || HAS_TRINAMIC_STANDALONE
|
||||||
#define MINIMUM_STEPPER_PULSE 0
|
#define MINIMUM_STEPPER_PULSE 0
|
||||||
#elif HAS_DRIVER(LV8729)
|
#elif HAS_DRIVER(LV8729)
|
||||||
#define MINIMUM_STEPPER_PULSE 0
|
#define MINIMUM_STEPPER_PULSE 0
|
||||||
|
@ -665,7 +665,7 @@
|
||||||
#define MAXIMUM_STEPPER_RATE 500000
|
#define MAXIMUM_STEPPER_RATE 500000
|
||||||
#elif HAS_DRIVER(LV8729)
|
#elif HAS_DRIVER(LV8729)
|
||||||
#define MAXIMUM_STEPPER_RATE 1000000
|
#define MAXIMUM_STEPPER_RATE 1000000
|
||||||
#elif TRINAMICS
|
#elif HAS_TRINAMIC || HAS_TRINAMIC_STANDALONE
|
||||||
#define MAXIMUM_STEPPER_RATE 5000000
|
#define MAXIMUM_STEPPER_RATE 5000000
|
||||||
#else
|
#else
|
||||||
#define MAXIMUM_STEPPER_RATE 250000
|
#define MAXIMUM_STEPPER_RATE 250000
|
||||||
|
|
Loading…
Reference in a new issue