From a088c4bee6e26947fd8e4d32a5604e47de293ba1 Mon Sep 17 00:00:00 2001 From: Philipp Scheff Date: Tue, 4 Jul 2023 00:39:10 +0200 Subject: [PATCH] fix stm32 can test --- tests/stm32/src/bin/can.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/stm32/src/bin/can.rs b/tests/stm32/src/bin/can.rs index 05adfe89a..8bdd3c24f 100644 --- a/tests/stm32/src/bin/can.rs +++ b/tests/stm32/src/bin/can.rs @@ -47,7 +47,7 @@ async fn main(_spawner: Spawner) { .modify_filters() .enable_bank(0, Fifo::Fifo0, Mask32::accept_all()); - can.as_mut().set_bitrate(1_000_000); + can.set_bitrate(1_000_000); can.as_mut() .modify_config() .set_loopback(true) // Receive own frames