fix stm32 can test
This commit is contained in:
parent
8359d8c020
commit
a088c4bee6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue