Browse Source

Fix Trinamic pulse rate auto-assignment (#16966)

ellensp 4 years ago
parent
commit
e76f2ed4cb
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/inc/Conditionals_post.h

+ 2
- 2
Marlin/src/inc/Conditionals_post.h View File

645
     #define MINIMUM_STEPPER_PULSE 2
645
     #define MINIMUM_STEPPER_PULSE 2
646
   #elif HAS_DRIVER(A4988) || HAS_DRIVER(A5984)
646
   #elif HAS_DRIVER(A4988) || HAS_DRIVER(A5984)
647
     #define MINIMUM_STEPPER_PULSE 1
647
     #define MINIMUM_STEPPER_PULSE 1
648
-  #elif TRINAMICS
648
+  #elif HAS_TRINAMIC || HAS_TRINAMIC_STANDALONE
649
     #define MINIMUM_STEPPER_PULSE 0
649
     #define MINIMUM_STEPPER_PULSE 0
650
   #elif HAS_DRIVER(LV8729)
650
   #elif HAS_DRIVER(LV8729)
651
     #define MINIMUM_STEPPER_PULSE 0
651
     #define MINIMUM_STEPPER_PULSE 0
665
     #define MAXIMUM_STEPPER_RATE 500000
665
     #define MAXIMUM_STEPPER_RATE 500000
666
   #elif HAS_DRIVER(LV8729)
666
   #elif HAS_DRIVER(LV8729)
667
     #define MAXIMUM_STEPPER_RATE 1000000
667
     #define MAXIMUM_STEPPER_RATE 1000000
668
-  #elif TRINAMICS
668
+  #elif HAS_TRINAMIC || HAS_TRINAMIC_STANDALONE
669
     #define MAXIMUM_STEPPER_RATE 5000000
669
     #define MAXIMUM_STEPPER_RATE 5000000
670
   #else
670
   #else
671
     #define MAXIMUM_STEPPER_RATE 250000
671
     #define MAXIMUM_STEPPER_RATE 250000

Loading…
Cancel
Save