From 7da63fa03fbcf680375da48403dac3a16a7eac87 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sat, 4 May 2019 22:59:38 +0200 Subject: [PATCH] Fix NOMORE() sign warning in stepper (#13894) --- 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 eb4957ec2e..eaac7f5504 100644 --- a/Marlin/src/module/stepper.cpp +++ b/Marlin/src/module/stepper.cpp @@ -1298,7 +1298,7 @@ void Stepper::isr() { ; // Limit the value to the maximum possible value of the timer - NOMORE(interval, HAL_TIMER_TYPE_MAX); + NOMORE(interval, uint32_t(HAL_TIMER_TYPE_MAX)); // Compute the time remaining for the main isr nextMainISR -= interval;