macro_rules! impl_panic_handler {
($type:ty) => { ... };
}Expand description
Implements the panic handler. You need to call this for the package to work.
This macro defines the panic handler, as well as a function called share_serial_port_with_panic.
That function takes an argument of the given $type and returns a &'static mut $type.