diff options
| author | Corey Schuhen <[email protected]> | 2024-05-30 21:23:12 +1000 |
|---|---|---|
| committer | Corey Schuhen <[email protected]> | 2024-05-30 21:39:11 +1000 |
| commit | 245c895d090b93582e23fc1573b244bdc5087d72 (patch) | |
| tree | 8f4039e82fac6ca9896d5cde3b483cac9bd59f94 /tests | |
| parent | 62f4b4ee1edc156663aaa26ce92c24f173ea660a (diff) | |
Remove generics for BXCAN.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/stm32/src/bin/can.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stm32/src/bin/can.rs b/tests/stm32/src/bin/can.rs index 004b1a729..f63076512 100644 --- a/tests/stm32/src/bin/can.rs +++ b/tests/stm32/src/bin/can.rs | |||
| @@ -19,8 +19,8 @@ mod can_common; | |||
| 19 | use can_common::*; | 19 | use can_common::*; |
| 20 | 20 | ||
| 21 | type Can<'d> = embassy_stm32::can::Can<'d, embassy_stm32::peripherals::CAN1>; | 21 | type Can<'d> = embassy_stm32::can::Can<'d, embassy_stm32::peripherals::CAN1>; |
| 22 | type CanTx<'d> = embassy_stm32::can::CanTx<'d, embassy_stm32::peripherals::CAN1>; | 22 | type CanTx<'d> = embassy_stm32::can::CanTx<'d>; |
| 23 | type CanRx<'d> = embassy_stm32::can::CanRx<'d, embassy_stm32::peripherals::CAN1>; | 23 | type CanRx<'d> = embassy_stm32::can::CanRx<'d>; |
| 24 | 24 | ||
| 25 | bind_interrupts!(struct Irqs { | 25 | bind_interrupts!(struct Irqs { |
| 26 | CAN1_RX0 => Rx0InterruptHandler<CAN1>; | 26 | CAN1_RX0 => Rx0InterruptHandler<CAN1>; |
