Skip to content

Commit

Permalink
Fix WDT with callback timers
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jan 7, 2024
1 parent bf07521 commit f33bf1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sming/Arch/Esp32/Components/driver/hw_timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class TimerConfig
#else
int source = timer_group_periph_signals.groups[group].timer_irq_id[index];
#endif
esp_intr_alloc_intrstatus(source, ESP_INTR_FLAG_IRAM, status_reg, mask, timerIsr, this, &isr_handle);
esp_intr_alloc_intrstatus(source, ESP_INTR_FLAG_IRAM | ESP_INTR_FLAG_INTRDISABLED, status_reg, mask, timerIsr, this, &isr_handle);
clear_intr_status();
enable_intr(true);
}
Expand Down

0 comments on commit f33bf1d

Please sign in to comment.