diff options
| author | Corey Schuhen <[email protected]> | 2024-05-26 19:54:46 +1000 |
|---|---|---|
| committer | Corey Schuhen <[email protected]> | 2024-05-29 20:07:17 +1000 |
| commit | 35feb1bf230a1af7fbac6dced25ed3cce727543d (patch) | |
| tree | bc979c5c3dfc7d5934d3261b92e5b62968d7e467 /tests/stm32/src/bin/fdcan.rs | |
| parent | 34bc439f174ed95cf2e733c7276e314361fb50da (diff) | |
Remove generic argument for STM32 FDCAN.
Diffstat (limited to 'tests/stm32/src/bin/fdcan.rs')
| -rw-r--r-- | tests/stm32/src/bin/fdcan.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/stm32/src/bin/fdcan.rs b/tests/stm32/src/bin/fdcan.rs index 20bd3f7e3..8534f92e8 100644 --- a/tests/stm32/src/bin/fdcan.rs +++ b/tests/stm32/src/bin/fdcan.rs | |||
| @@ -15,6 +15,10 @@ use {defmt_rtt as _, panic_probe as _}; | |||
| 15 | mod can_common; | 15 | mod can_common; |
| 16 | use can_common::*; | 16 | use can_common::*; |
| 17 | 17 | ||
| 18 | type Can<'d> = can::Can<'d>; | ||
| 19 | type CanTx<'d> = can::CanTx<'d>; | ||
| 20 | type CanRx<'d> = can::CanRx<'d>; | ||
| 21 | |||
| 18 | bind_interrupts!(struct Irqs2 { | 22 | bind_interrupts!(struct Irqs2 { |
| 19 | FDCAN2_IT0 => can::IT0InterruptHandler<FDCAN2>; | 23 | FDCAN2_IT0 => can::IT0InterruptHandler<FDCAN2>; |
| 20 | FDCAN2_IT1 => can::IT1InterruptHandler<FDCAN2>; | 24 | FDCAN2_IT1 => can::IT1InterruptHandler<FDCAN2>; |
