Eliminate stepper.* signed/unsigned warnings

This commit is contained in:
Scott Lahteine committed 2018-06-27 23:10:51 -05:00
1 parent edb21f349a
commit aa4cd2e861
2 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -1324,7 +1324,7 @@ void Stepper::stepper_pulse_phase_isr() {
// Get the timer count and estimate the end of the pulse
hal_timer_t pulse_end = HAL_timer_get_count(PULSE_TIMER_NUM) + hal_timer_t(MIN_PULSE_TICKS);
const hal_timer_t added_step_ticks = ADDED_STEP_TICKS;
const hal_timer_t added_step_ticks = hal_timer_t(ADDED_STEP_TICKS);
// Take multiple steps per interrupt (For high speed moves)
do {
@@ -1820,7 +1820,7 @@ uint32_t Stepper::stepper_block_phase_isr() {
// Get the timer count and estimate the end of the pulse
hal_timer_t pulse_end = HAL_timer_get_count(PULSE_TIMER_NUM) + hal_timer_t(MIN_PULSE_TICKS);
const hal_timer_t added_step_ticks = ADDED_STEP_TICKS;
const hal_timer_t added_step_ticks = hal_timer_t(ADDED_STEP_TICKS);
// Step E stepper if we have steps
while (LA_steps) {