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

Loading…
Cancel
Save