Fix NOMORE() sign warning in stepper (#13894)
This commit is contained in:
parent
6d0ce033c2
commit
7da63fa03f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue