diff options
Diffstat (limited to 'examples/stm32f7/src/bin/can.rs')
| -rw-r--r-- | examples/stm32f7/src/bin/can.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32f7/src/bin/can.rs b/examples/stm32f7/src/bin/can.rs index e9650f23a..78b21ceaa 100644 --- a/examples/stm32f7/src/bin/can.rs +++ b/examples/stm32f7/src/bin/can.rs | |||
| @@ -26,7 +26,7 @@ pub async fn send_can_message(tx: &'static mut CanTx<'static, 'static, CAN3>) { | |||
| 26 | loop { | 26 | loop { |
| 27 | let frame = Frame::new_data(unwrap!(StandardId::new(0 as _)), [0]); | 27 | let frame = Frame::new_data(unwrap!(StandardId::new(0 as _)), [0]); |
| 28 | tx.write(&frame).await; | 28 | tx.write(&frame).await; |
| 29 | embassy_time::Timer::after(embassy_time::Duration::from_secs(1)).await; | 29 | embassy_time::Timer::after_secs(1).await; |
| 30 | } | 30 | } |
| 31 | } | 31 | } |
| 32 | 32 | ||
