We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad2a27 commit e1b0e70Copy full SHA for e1b0e70
testsuite/src/main.rs
@@ -77,8 +77,8 @@ mod tests {
77
#[test]
78
fn interrupt_free_nesting() {
79
EXCEPTION_FLAG.store(false, Ordering::SeqCst);
80
- cortex_m::interrupt::free(|| {
81
+ cortex_m::interrupt::free(|_| {
82
cortex_m::peripheral::SCB::set_pendsv();
83
assert!(!EXCEPTION_FLAG.load(Ordering::SeqCst));
84
});
0 commit comments