Fix NOMORE() sign warning in stepper (#13894)
This commit is contained in:
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…
Reference in New Issue
Block a user