uorocketry / hydra

Hyper Dynamic Rocketry Avionics
GNU General Public License v3.0
5 stars 1 forks source link

Add a panic handler #81

Closed NoahSprenger closed 9 months ago

NoahSprenger commented 9 months ago

#[panic_handler] fn panic(panic: &core::panic::PanicInfo) -> ! { // handle here }

This panic handler should try and restart the system or handle the panic and if possible log the panic.