aboutsummaryrefslogtreecommitdiff
path: root/tests/stm32/src/bin/fdcan.rs
diff options
context:
space:
mode:
authorDion Dokter <[email protected]>2024-08-05 15:07:51 +0200
committerDion Dokter <[email protected]>2024-08-05 15:07:51 +0200
commit3cd20814501d03852a3c30facbd204dffcf048db (patch)
tree7d813088df72bffe64b40f531028f9864076fbaa /tests/stm32/src/bin/fdcan.rs
parent5884576b88e7ec7e26ec1c9b9f61e253cb0e5ea6 (diff)
Fix tests
Diffstat (limited to 'tests/stm32/src/bin/fdcan.rs')
-rw-r--r--tests/stm32/src/bin/fdcan.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stm32/src/bin/fdcan.rs b/tests/stm32/src/bin/fdcan.rs
index bc2b7edd4..83d7eca85 100644
--- a/tests/stm32/src/bin/fdcan.rs
+++ b/tests/stm32/src/bin/fdcan.rs
@@ -102,10 +102,10 @@ fn options() -> (Config, TestOptions) {
102 102
103#[embassy_executor::main] 103#[embassy_executor::main]
104async fn main(_spawner: Spawner) { 104async fn main(_spawner: Spawner) {
105 //let peripherals = embassy_stm32::init(config()); 105 //let peripherals = init();
106 106
107 let (config, options) = options(); 107 let (config, options) = options();
108 let peripherals = embassy_stm32::init(config); 108 let peripherals = init_with_config(config);
109 109
110 let mut can = can::CanConfigurator::new(peripherals.FDCAN1, peripherals.PB8, peripherals.PB9, Irqs1); 110 let mut can = can::CanConfigurator::new(peripherals.FDCAN1, peripherals.PB8, peripherals.PB9, Irqs1);
111 let mut can2 = can::CanConfigurator::new(peripherals.FDCAN2, peripherals.PB12, peripherals.PB13, Irqs2); 111 let mut can2 = can::CanConfigurator::new(peripherals.FDCAN2, peripherals.PB12, peripherals.PB13, Irqs2);