aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/stm32g4/src/bin/can.rs4
-rw-r--r--examples/stm32h5/src/bin/can.rs2
-rw-r--r--examples/stm32h7/src/bin/can.rs2
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/stm32g4/src/bin/can.rs b/examples/stm32g4/src/bin/can.rs
index 2ed632a93..7836334af 100644
--- a/examples/stm32g4/src/bin/can.rs
+++ b/examples/stm32g4/src/bin/can.rs
@@ -38,7 +38,7 @@ async fn main(_spawner: Spawner) {
38 38
39 let mut can = can::CanConfigurator::new(peripherals.FDCAN1, peripherals.PA11, peripherals.PA12, Irqs); 39 let mut can = can::CanConfigurator::new(peripherals.FDCAN1, peripherals.PA11, peripherals.PA12, Irqs);
40 40
41 can.set_extended_filter( 41 can.properties().set_extended_filter(
42 can::filter::ExtendedFilterSlot::_0, 42 can::filter::ExtendedFilterSlot::_0,
43 can::filter::ExtendedFilter::accept_all_into_fifo1(), 43 can::filter::ExtendedFilter::accept_all_into_fifo1(),
44 ); 44 );
@@ -128,7 +128,7 @@ async fn main(_spawner: Spawner) {
128 } 128 }
129 } 129 }
130 i = 0; 130 i = 0;
131 let (mut tx, mut rx) = can.split(); 131 let (mut tx, mut rx, _props) = can.split();
132 // With split 132 // With split
133 loop { 133 loop {
134 let frame = can::frame::Frame::new_extended(0x123456F, &[i; 8]).unwrap(); 134 let frame = can::frame::Frame::new_extended(0x123456F, &[i; 8]).unwrap();
diff --git a/examples/stm32h5/src/bin/can.rs b/examples/stm32h5/src/bin/can.rs
index dd625c90a..dc77ec3bf 100644
--- a/examples/stm32h5/src/bin/can.rs
+++ b/examples/stm32h5/src/bin/can.rs
@@ -67,7 +67,7 @@ async fn main(_spawner: Spawner) {
67 } 67 }
68 } 68 }
69 69
70 let (mut tx, mut rx) = can.split(); 70 let (mut tx, mut rx, _props) = can.split();
71 // With split 71 // With split
72 loop { 72 loop {
73 let frame = can::frame::Frame::new_extended(0x123456F, &[i; 8]).unwrap(); 73 let frame = can::frame::Frame::new_extended(0x123456F, &[i; 8]).unwrap();
diff --git a/examples/stm32h7/src/bin/can.rs b/examples/stm32h7/src/bin/can.rs
index 22cb27481..a889d5860 100644
--- a/examples/stm32h7/src/bin/can.rs
+++ b/examples/stm32h7/src/bin/can.rs
@@ -67,7 +67,7 @@ async fn main(_spawner: Spawner) {
67 } 67 }
68 } 68 }
69 69
70 let (mut tx, mut rx) = can.split(); 70 let (mut tx, mut rx, _props) = can.split();
71 // With split 71 // With split
72 loop { 72 loop {
73 let frame = can::frame::Frame::new_extended(0x123456F, &[i; 8]).unwrap(); 73 let frame = can::frame::Frame::new_extended(0x123456F, &[i; 8]).unwrap();