mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-02 20:00:40 +00:00
New HardwareTimer for STM32 5.7.0 (#15655)
This commit is contained in:
parent
4762dfe797
commit
ac71cdc265
31 changed files with 1290 additions and 520 deletions
Marlin/src/module
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue