aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src
diff options
context:
space:
mode:
authorEric Yanush <[email protected]>2024-04-22 01:52:10 -0600
committerEric Yanush <[email protected]>2024-04-22 01:52:10 -0600
commit68a4fd8f4a18a33a9045d7128a39d8dff5652491 (patch)
tree3a452aeecb93d51bf5ad6ffe2adca533728706d4 /embassy-stm32/src
parent6e1290b3f14f141fd2f53d001ef56186b2b80a42 (diff)
Enable LEC interrupt as well
Diffstat (limited to 'embassy-stm32/src')
-rw-r--r--embassy-stm32/src/can/bxcan/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/can/bxcan/mod.rs b/embassy-stm32/src/can/bxcan/mod.rs
index d43ce778d..c524c68a9 100644
--- a/embassy-stm32/src/can/bxcan/mod.rs
+++ b/embassy-stm32/src/can/bxcan/mod.rs
@@ -191,6 +191,7 @@ impl<'d, T: Instance> Can<'d, T> {
191 w.set_bofie(true); 191 w.set_bofie(true);
192 w.set_epvie(true); 192 w.set_epvie(true);
193 w.set_ewgie(true); 193 w.set_ewgie(true);
194 w.set_lecie(true);
194 }); 195 });
195 196
196 T::regs().mcr().write(|w| { 197 T::regs().mcr().write(|w| {