felixstorm
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Marlin/src/HAL/HAL_ESP32/timers.cpp
|
@ -106,7 +106,7 @@ void HAL_timer_start(const uint8_t timer_num, uint32_t frequency) { |
|
|
|
|
|
|
|
|
timer_enable_intr(timer.group, timer.idx); |
|
|
timer_enable_intr(timer.group, timer.idx); |
|
|
|
|
|
|
|
|
timer_isr_register(timer.group, timer.idx, timer_isr, (void*)timer_num, 0, nullptr); |
|
|
timer_isr_register(timer.group, timer.idx, timer_isr, (void*)(uint32_t)timer_num, 0, nullptr); |
|
|
|
|
|
|
|
|
timer_start(timer.group, timer.idx); |
|
|
timer_start(timer.group, timer.idx); |
|
|
} |
|
|
} |
|
|