Search found 1 match

by peter01
Tue May 14, 2019 3:04 pm
Forum: ESP-IDF
Topic: Execute code before restart during fatal errors
Replies: 1
Views: 2692

Execute code before restart during fatal errors

Hi,

if any fatal error occured during runtime, the esp32 does perform a reboot. So, is it possible to asign a callback to execute some critical application code before the restart happens? If I am correct, this is also done for the debug messages.

Thanks,
peter01