Fix NOMORE() sign warning in stepper (#13894)

2.0.x
Tanguy Pruvot 6 years ago committed by Scott Lahteine
parent 6d0ce033c2
commit 7da63fa03f

@ -1298,7 +1298,7 @@ void Stepper::isr() {
; ;
// Limit the value to the maximum possible value of the timer // 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 // Compute the time remaining for the main isr
nextMainISR -= interval; nextMainISR -= interval;

Loading…
Cancel
Save