diff options
| author | Corey Schuhen <[email protected]> | 2024-02-25 09:57:30 +1000 |
|---|---|---|
| committer | Corey Schuhen <[email protected]> | 2024-02-25 10:14:12 +1000 |
| commit | 1327a644b6194093e732372d2aab571214ef5717 (patch) | |
| tree | de0a2e749cf5e052f2e33823fa91476c621f2095 /examples | |
| parent | 0565098b06f73b542369c4d4f97f34c78e9bd058 (diff) | |
FDCAN: Don't require internal module for public API.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32g4/src/bin/can.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32g4/src/bin/can.rs b/examples/stm32g4/src/bin/can.rs index affa97039..a41f765c1 100644 --- a/examples/stm32g4/src/bin/can.rs +++ b/examples/stm32g4/src/bin/can.rs | |||
| @@ -22,8 +22,8 @@ async fn main(_spawner: Spawner) { | |||
| 22 | let mut can = can::FdcanConfigurator::new(peripherals.FDCAN1, peripherals.PA11, peripherals.PA12, Irqs); | 22 | let mut can = can::FdcanConfigurator::new(peripherals.FDCAN1, peripherals.PA11, peripherals.PA12, Irqs); |
| 23 | 23 | ||
| 24 | can.set_extended_filter( | 24 | can.set_extended_filter( |
| 25 | can::fd::filter::ExtendedFilterSlot::_0, | 25 | can::filter::ExtendedFilterSlot::_0, |
| 26 | can::fd::filter::ExtendedFilter::accept_all_into_fifo1(), | 26 | can::filter::ExtendedFilter::accept_all_into_fifo1(), |
| 27 | ); | 27 | ); |
| 28 | 28 | ||
| 29 | // 250k bps | 29 | // 250k bps |
