fix stm32 can test
This commit is contained in:
parent
8359d8c020
commit
a088c4bee6
@ -47,7 +47,7 @@ async fn main(_spawner: Spawner) {
|
|||||||
.modify_filters()
|
.modify_filters()
|
||||||
.enable_bank(0, Fifo::Fifo0, Mask32::accept_all());
|
.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()
|
can.as_mut()
|
||||||
.modify_config()
|
.modify_config()
|
||||||
.set_loopback(true) // Receive own frames
|
.set_loopback(true) // Receive own frames
|
||||||
|
Loading…
Reference in New Issue
Block a user