fix stm32 can test

This commit is contained in:
Philipp Scheff 2023-07-04 00:39:10 +02:00
parent 8359d8c020
commit a088c4bee6

View File

@ -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