Fix Trinamic pulse rate auto-assignment (#16966)

This commit is contained in:
ellensp 2020-02-26 23:34:21 +13:00 committed by GitHub
parent b5c2190b38
commit e76f2ed4cb
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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