diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-02-25 21:06:59 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-25 21:06:59 +0000 |
| commit | 326e32adc4f5035a122fa12d3111026d27d48e63 (patch) | |
| tree | 1072dc278dd52bd6c6a41bbbb5b05cc5bb33e27d /examples | |
| parent | 4657c105473122017a2df0fec6449ffb401927f4 (diff) | |
| parent | a737a7350e6aa42b867679dbb21c2d6fb8b22b91 (diff) | |
Merge pull request #2623 from cschuhen/feature/fdcan_pac_cleanup
Cleanup of FDCAN module, mostly review comments.
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 |
