aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf52840/src/bin/uart_split.rs
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-08-22 16:58:43 -0500
committerxoviat <[email protected]>2023-08-22 16:58:43 -0500
commit7d6edd7b15d2209ac0b96ff8814ecefce2964e36 (patch)
tree7988a9b46855ac187a92cbfc5f38cbbbff695e8d /examples/nrf52840/src/bin/uart_split.rs
parent9e3266b74554ea397bdd963ff12a26aa51e77b63 (diff)
parent7bff2ebab3b36cc922505e9db961840109c509ed (diff)
Merge branch 'main' of https://github.com/embassy-rs/embassy into rtc-lp
Diffstat (limited to 'examples/nrf52840/src/bin/uart_split.rs')
-rw-r--r--examples/nrf52840/src/bin/uart_split.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf52840/src/bin/uart_split.rs b/examples/nrf52840/src/bin/uart_split.rs
index 9979a1d53..b748bfcd8 100644
--- a/examples/nrf52840/src/bin/uart_split.rs
+++ b/examples/nrf52840/src/bin/uart_split.rs
@@ -46,7 +46,7 @@ async fn main(spawner: Spawner) {
46 // back out the buffer we receive from the read 46 // back out the buffer we receive from the read
47 // task. 47 // task.
48 loop { 48 loop {
49 let buf = CHANNEL.recv().await; 49 let buf = CHANNEL.receive().await;
50 info!("writing..."); 50 info!("writing...");
51 unwrap!(tx.write(&buf).await); 51 unwrap!(tx.write(&buf).await);
52 } 52 }