mk_static

Macro mk_static 

Source
macro_rules! mk_static {
    ($t:ty, $val:expr) => { ... };
}
Expand description

Initialize a no-std static cell and write the given value into it.

This macro creates a static_cell::StaticCell for type $t and initializes it with $val, returning a mutable reference to the stored value.