diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-05-13 22:33:56 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-13 22:33:56 +0200 |
| commit | 102258c0b07ca581d5dabdbd540febd54c0f4443 (patch) | |
| tree | 05765308bab9131f93cd23e1aa5fe306122e8db7 /examples/rp/src/bin/uart_unidir.rs | |
| parent | 8e7e4332b40707e8d36338ad8ec486320bb3538f (diff) | |
| parent | aa85293457039a336eec1f10bcd32d47d7223f95 (diff) | |
Merge branch 'main' into add-rng
Diffstat (limited to 'examples/rp/src/bin/uart_unidir.rs')
| -rw-r--r-- | examples/rp/src/bin/uart_unidir.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rp/src/bin/uart_unidir.rs b/examples/rp/src/bin/uart_unidir.rs index a45f40756..c2c8dfad8 100644 --- a/examples/rp/src/bin/uart_unidir.rs +++ b/examples/rp/src/bin/uart_unidir.rs | |||
| @@ -39,7 +39,7 @@ async fn main(spawner: Spawner) { | |||
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | #[embassy_executor::task] | 41 | #[embassy_executor::task] |
| 42 | async fn reader(mut rx: UartRx<'static, UART1, Async>) { | 42 | async fn reader(mut rx: UartRx<'static, Async>) { |
| 43 | info!("Reading..."); | 43 | info!("Reading..."); |
| 44 | loop { | 44 | loop { |
| 45 | // read a total of 4 transmissions (32 / 8) and then print the result | 45 | // read a total of 4 transmissions (32 / 8) and then print the result |
