diff options
| author | Timo Kröger <[email protected]> | 2022-02-28 22:42:45 +0100 |
|---|---|---|
| committer | Timo Kröger <[email protected]> | 2022-03-05 09:46:06 +0100 |
| commit | 4c305439385c7be79dc9997ae8b698a3487aa819 (patch) | |
| tree | b08aa00a31c553c00ae94cf642288a440aa42375 /examples/stm32f4 | |
| parent | 9ebf7eee6d4ec707699118b6bdc893ce9070ae5e (diff) | |
[can] Do not use wildcard reexport for bxcan
Diffstat (limited to 'examples/stm32f4')
| -rw-r--r-- | examples/stm32f4/src/bin/can.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/stm32f4/src/bin/can.rs b/examples/stm32f4/src/bin/can.rs index 4c575aa87..b36e41805 100644 --- a/examples/stm32f4/src/bin/can.rs +++ b/examples/stm32f4/src/bin/can.rs | |||
| @@ -6,8 +6,9 @@ | |||
| 6 | mod example_common; | 6 | mod example_common; |
| 7 | 7 | ||
| 8 | use cortex_m_rt::entry; | 8 | use cortex_m_rt::entry; |
| 9 | use embassy_stm32::can::filter::Mask32; | 9 | use embassy_stm32::can::bxcan::filter::Mask32; |
| 10 | use embassy_stm32::can::{Can, Frame, StandardId}; | 10 | use embassy_stm32::can::bxcan::{Frame, StandardId}; |
| 11 | use embassy_stm32::can::Can; | ||
| 11 | use embassy_stm32::gpio::{Input, Pull}; | 12 | use embassy_stm32::gpio::{Input, Pull}; |
| 12 | use example_common::*; | 13 | use example_common::*; |
| 13 | 14 | ||
