flipperzero_sysMacro crash
Source macro_rules! crash {
($msg:expr $(,)?) => { ... };
}
Expand description
Crash the system.
The only argument is a message with which the system should crash
which should contain no NULs. The following will not compile:
ⓘflipperzero_sys::crash!("Has a \0 NUL");
§Examples
Crash the system with a “Hello world!” message:
flipperzero_sys::crash!("Hello world!");