Fix Trinamic pulse rate auto-assignment (#16966)

2.0.x
ellensp 5 years ago committed by GitHub
parent b5c2190b38
commit e76f2ed4cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save