Skip to content

Commit bc74718

Browse files
committed
timer: lac: use default priority level
Fix timer interrupt level incompatibility when BLE is used. Interrupt allocator will manage it automatically. Signed-off-by: Sylvio Alves <[email protected]>
1 parent e3532f0 commit bc74718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/esp_timer/src/esp_timer_impl_lac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ esp_err_t esp_timer_impl_early_init(void)
222222

223223
esp_err_t esp_timer_impl_init(intr_handler_t alarm_handler)
224224
{
225-
int isr_flags = ((1 << 1) & ESP_INTR_FLAG_LEVELMASK) | ESP_INTR_FLAG_IRAM;
225+
int isr_flags = ESP_INTR_FLAG_IRAM;
226226

227227
esp_err_t err = esp_intr_alloc(INTR_SOURCE_LACT, isr_flags,
228228
(intr_handler_t)timer_alarm_isr, NULL, NULL);

0 commit comments

Comments
 (0)