From cb7b994807c2464d575984b810c77ef123442b06 Mon Sep 17 00:00:00 2001 From: Felix Storm Date: Mon, 20 May 2019 17:02:42 +0200 Subject: [PATCH] ESP32: Fix HAL_timer_start from commit ad4ffa1d --- Marlin/src/HAL/HAL_ESP32/HAL_timers_ESP32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/HAL/HAL_ESP32/HAL_timers_ESP32.cpp b/Marlin/src/HAL/HAL_ESP32/HAL_timers_ESP32.cpp index 1568cc508168..81bc7cbf0fd0 100644 --- a/Marlin/src/HAL/HAL_ESP32/HAL_timers_ESP32.cpp +++ b/Marlin/src/HAL/HAL_ESP32/HAL_timers_ESP32.cpp @@ -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); }