New HardwareTimer for STM32 5.7.0 (#15655)

This commit is contained in:
Lino Barreca authored and Scott Lahteine committed 2019-11-12 19:23:02 -06:00
1 parent 4762dfe797
commit ac71cdc265
31 files changed
+1290 -520

No files matched your search

+1 -1
View File
@@ -1537,7 +1537,7 @@ void Stepper::stepper_pulse_phase_isr() {
uint32_t Stepper::stepper_block_phase_isr() {
// If no queued movements, just wait 1ms for the next move
uint32_t interval = (STEPPER_TIMER_RATE / 1000);
uint32_t interval = (STEPPER_TIMER_RATE) / 1000;
// If there is a current block
if (current_block) {