Browse Source

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

Tanguy Pruvot 5 years ago
parent
commit
7da63fa03f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/stepper.cpp

+ 1
- 1
Marlin/src/module/stepper.cpp View File

1298
     ;
1298
     ;
1299
 
1299
 
1300
     // Limit the value to the maximum possible value of the timer
1300
     // Limit the value to the maximum possible value of the timer
1301
-    NOMORE(interval, HAL_TIMER_TYPE_MAX);
1301
+    NOMORE(interval, uint32_t(HAL_TIMER_TYPE_MAX));
1302
 
1302
 
1303
     // Compute the time remaining for the main isr
1303
     // Compute the time remaining for the main isr
1304
     nextMainISR -= interval;
1304
     nextMainISR -= interval;

Loading…
Cancel
Save