We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e981069 commit 1774dbdCopy full SHA for 1774dbd
Marlin/src/module/stepper.cpp
@@ -1586,7 +1586,7 @@ void Stepper::isr() {
1586
#endif
1587
1588
// Get the interval to the next ISR call
1589
- interval = uint32_t(STEPPER_TIMER_RATE * 0.030); // Max wait of 30ms regardless of stepper timer frequency
+ interval = hal_timer_t(STEPPER_TIMER_RATE * 0.03); // Max wait of 30ms regardless of stepper timer frequency
1590
NOMORE(interval, nextMainISR); // Time until the next Pulse / Block phase
1591
TERN_(INPUT_SHAPING_X, NOMORE(interval, ShapingQueue::peek_x())); // Time until next input shaping echo for X
1592
TERN_(INPUT_SHAPING_Y, NOMORE(interval, ShapingQueue::peek_y())); // Time until next input shaping echo for Y
0 commit comments