Execute code before restart during fatal errors
Posted: Tue May 14, 2019 3:04 pm
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
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