Search found 1 match

by apurvapatel
Thu May 19, 2022 2:36 pm
Forum: General Discussion
Topic: Best way to restart from ISR?
Replies: 0
Views: 749

Best way to restart from ISR?

Hello. The idea is that I am setting a flag in ISR and want to restart immediately to run normal loop + flagged code. 1) What is the fastest/efficient/most graceful way to restart immediately inside of the ISR? Some of the ways I can think of would be: esp_restart() esp_sleep_enable_timer_wakeup(1);...