aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-06-19 16:11:01 -0500
committerxoviat <[email protected]>2023-06-19 16:11:01 -0500
commit5a075acc6a91f9eb05d065ee31551a4695cc4cdf (patch)
treec4c32ed4a1c98393b85479811e263946fddbf4b8
parent09982214788def209316ef70cae08eead964e206 (diff)
stm32/tests: fix can
-rw-r--r--tests/stm32/src/bin/can.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/stm32/src/bin/can.rs b/tests/stm32/src/bin/can.rs
index f39f83e82..33d63d546 100644
--- a/tests/stm32/src/bin/can.rs
+++ b/tests/stm32/src/bin/can.rs
@@ -4,8 +4,9 @@
4 4
5// required-features: can 5// required-features: can
6 6
7#[path = "../example_common.rs"] 7#[path = "../common.rs"]
8mod example_common; 8mod common;
9use common::*;
9use embassy_executor::Spawner; 10use embassy_executor::Spawner;
10use embassy_stm32::bind_interrupts; 11use embassy_stm32::bind_interrupts;
11use embassy_stm32::can::bxcan::filter::Mask32; 12use embassy_stm32::can::bxcan::filter::Mask32;
@@ -13,7 +14,6 @@ use embassy_stm32::can::bxcan::{Fifo, Frame, StandardId};
13use embassy_stm32::can::{Can, Rx0InterruptHandler, Rx1InterruptHandler, SceInterruptHandler, TxInterruptHandler}; 14use embassy_stm32::can::{Can, Rx0InterruptHandler, Rx1InterruptHandler, SceInterruptHandler, TxInterruptHandler};
14use embassy_stm32::gpio::{Input, Pull}; 15use embassy_stm32::gpio::{Input, Pull};
15use embassy_stm32::peripherals::CAN1; 16use embassy_stm32::peripherals::CAN1;
16use example_common::*;
17use {defmt_rtt as _, panic_probe as _}; 17use {defmt_rtt as _, panic_probe as _};
18 18
19bind_interrupts!(struct Irqs { 19bind_interrupts!(struct Irqs {