Skip to content
Snippets Groups Projects
Commit 50bf1785 authored by Per's avatar Per
Browse files

exti3

parent 14c011da
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,11 @@ fn exti2(t: &mut Threshold, mut r: EXTI2::Resources) { ...@@ -68,7 +68,11 @@ fn exti2(t: &mut Threshold, mut r: EXTI2::Resources) {
}); });
} }
fn exti3(_t: &mut Threshold, _r: EXTI3::Resources) {} fn exti3(t: &mut Threshold, mut r: EXTI3::Resources) {
r.X.claim_mut(t, |x, _| {
*x += 1;
});
}
#[inline(never)] #[inline(never)]
#[allow(dead_code)] #[allow(dead_code)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment