From 1774dbd53997ca4113cb97b6ff4a2d3aab765586 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 3 Nov 2025 17:51:55 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20'interval'=20type=20warnin?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves #28156 --- Marlin/src/module/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/stepper.cpp b/Marlin/src/module/stepper.cpp index 184f039608..d44060e815 100644 --- a/Marlin/src/module/stepper.cpp +++ b/Marlin/src/module/stepper.cpp @@ -1586,7 +1586,7 @@ void Stepper::isr() { #endif // Get the interval to the next ISR call - 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 NOMORE(interval, nextMainISR); // Time until the next Pulse / Block phase TERN_(INPUT_SHAPING_X, NOMORE(interval, ShapingQueue::peek_x())); // Time until next input shaping echo for X TERN_(INPUT_SHAPING_Y, NOMORE(interval, ShapingQueue::peek_y())); // Time until next input shaping echo for Y