Skip to content

Commit

Permalink
ESP32: Fix HAL_timer_start from commit ad4ffa1
Browse files Browse the repository at this point in the history
  • Loading branch information
felixstorm-c4a8 committed May 23, 2019
1 parent 2481597 commit cb7b994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/HAL/HAL_ESP32/HAL_timers_ESP32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void HAL_timer_start(const uint8_t timer_num, uint32_t frequency) {
timer_enable_intr(timer.group, timer.idx);

// TODO need to deal with timer_group1_isr
timer_isr_register(timer.group, timer.idx, timer_group0_isr, (void*)timer.idx, ESP_INTR_FLAG_INTRDISABLED, nullptr);
timer_isr_register(timer.group, timer.idx, timer_group0_isr, (void*)timer.idx, 0, nullptr);

timer_start(timer.group, timer.idx);
}
Expand Down

0 comments on commit cb7b994

Please sign in to comment.