Sfoglia il codice sorgente

Fix Trinamic pulse rate auto-assignment (#16966)

ellensp 4 anni fa
parent
commit
e76f2ed4cb
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/src/inc/Conditionals_post.h

+ 2
- 2
Marlin/src/inc/Conditionals_post.h Vedi 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…
Annulla
Salva