aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7/src
diff options
context:
space:
mode:
authorRuben De Smet <[email protected]>2023-08-11 11:58:22 +0200
committerRuben De Smet <[email protected]>2023-08-22 16:58:31 +0200
commitc39671266e21dd9e35e60cc680453cd5c38162db (patch)
tree895dbbcefb90af1fd65c8844c1e5785a909b0671 /examples/stm32h7/src
parentb1ec460b9af131ef80fcafd79a7f63aa326aaf94 (diff)
Deprecate *recv* in favor of *receive*
Diffstat (limited to 'examples/stm32h7/src')
-rw-r--r--examples/stm32h7/src/bin/usart_split.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h7/src/bin/usart_split.rs b/examples/stm32h7/src/bin/usart_split.rs
index 330d1ce09..aa0753450 100644
--- a/examples/stm32h7/src/bin/usart_split.rs
+++ b/examples/stm32h7/src/bin/usart_split.rs
@@ -44,7 +44,7 @@ async fn main(spawner: Spawner) -> ! {
44 unwrap!(spawner.spawn(reader(rx))); 44 unwrap!(spawner.spawn(reader(rx)));
45 45
46 loop { 46 loop {
47 let buf = CHANNEL.recv().await; 47 let buf = CHANNEL.receive().await;
48 info!("writing..."); 48 info!("writing...");
49 unwrap!(tx.write(&buf).await); 49 unwrap!(tx.write(&buf).await);
50 } 50 }