Browse Source

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

pull/1/head
Tanguy Pruvot 5 years ago
committed by Scott Lahteine
parent
commit
7da63fa03f
  1. 2
      Marlin/src/module/stepper.cpp

2
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;

Loading…
Cancel
Save