Skip to main content

rtic_dispatchers_agree

Function rtic_dispatchers_agree 

Source
pub const fn rtic_dispatchers_agree(a: &[&str], b: &[&str]) -> bool
Expand description

Do two dispatcher lists name the same interrupts, in the same order? const, for the assertion the nros::main! RTIC app emits: the macro restates the board’s RticBoardEntry::DISPATCHERS (an expansion cannot read a const of the crate it targets), and this keeps the copy from drifting.