diff options
| author | Eric Yanush <[email protected]> | 2024-04-22 01:52:10 -0600 |
|---|---|---|
| committer | Eric Yanush <[email protected]> | 2024-04-22 01:52:10 -0600 |
| commit | 68a4fd8f4a18a33a9045d7128a39d8dff5652491 (patch) | |
| tree | 3a452aeecb93d51bf5ad6ffe2adca533728706d4 /embassy-stm32/src | |
| parent | 6e1290b3f14f141fd2f53d001ef56186b2b80a42 (diff) | |
Enable LEC interrupt as well
Diffstat (limited to 'embassy-stm32/src')
| -rw-r--r-- | embassy-stm32/src/can/bxcan/mod.rs | 1 |
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| { |
