Function kernel::debug::panic[][src]

pub unsafe fn panic<L: Led, W: Write>(
    leds: &mut [&mut L],
    writer: &mut W,
    panic_info: &PanicInfo,
    nop: &Fn()
) -> !

Tock default panic routine.

NOTE: The supplied writer must be synchronous.