endless-rs 0.2.0

A Rust SDK for the Polyend Endless programmable effects pedal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Default panic handler for `no_std` patch binaries.
//!
//! Enabled by the `panic-halt` feature (on by default). Loops forever
//! on panic — the firmware will detect the stall via frame drops.

#[cfg(all(feature = "panic-halt", not(test)))]
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo) -> ! {
    loop {
        core::hint::spin_loop();
    }
}