mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-14 06:04:19 +00:00
refactor(esp_timer): Remove duplicate code and move it to a common file
This commit is contained in:
@@ -492,6 +492,7 @@ static void IRAM_ATTR timer_alarm_handler(void* arg)
|
||||
bool isr_timers_processed = false;
|
||||
|
||||
#ifdef CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD
|
||||
esp_timer_impl_try_to_set_next_alarm();
|
||||
// process timers with ISR dispatch method
|
||||
isr_timers_processed = timer_process_alarm(ESP_TIMER_ISR);
|
||||
xHigherPriorityTaskWoken = s_isr_dispatch_need_yield;
|
||||
|
Reference in New Issue
Block a user