diff options
| author | Dion Dokter <[email protected]> | 2024-08-05 11:21:21 +0200 |
|---|---|---|
| committer | Dion Dokter <[email protected]> | 2024-08-05 11:21:21 +0200 |
| commit | ab4d378dda5a74834dcc1fc0c872824f4a616911 (patch) | |
| tree | d79824af61988c9adae883fa04e40b7b74e112a9 /examples/rp/src/bin/uart_buffered_split.rs | |
| parent | 2a7fe16ceb53aca38f73ac01a923ea445654673c (diff) | |
| parent | 0f685761e09b1617e435de4e50986fe9a548502e (diff) | |
Merge branch 'master' into stm-dualcore
Diffstat (limited to 'examples/rp/src/bin/uart_buffered_split.rs')
| -rw-r--r-- | examples/rp/src/bin/uart_buffered_split.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rp/src/bin/uart_buffered_split.rs b/examples/rp/src/bin/uart_buffered_split.rs index fac61aa04..468d2b61a 100644 --- a/examples/rp/src/bin/uart_buffered_split.rs +++ b/examples/rp/src/bin/uart_buffered_split.rs | |||
| @@ -31,7 +31,7 @@ async fn main(spawner: Spawner) { | |||
| 31 | static RX_BUF: StaticCell<[u8; 16]> = StaticCell::new(); | 31 | static RX_BUF: StaticCell<[u8; 16]> = StaticCell::new(); |
| 32 | let rx_buf = &mut RX_BUF.init([0; 16])[..]; | 32 | let rx_buf = &mut RX_BUF.init([0; 16])[..]; |
| 33 | let uart = BufferedUart::new(uart, Irqs, tx_pin, rx_pin, tx_buf, rx_buf, Config::default()); | 33 | let uart = BufferedUart::new(uart, Irqs, tx_pin, rx_pin, tx_buf, rx_buf, Config::default()); |
| 34 | let (rx, mut tx) = uart.split(); | 34 | let (mut tx, rx) = uart.split(); |
| 35 | 35 | ||
| 36 | unwrap!(spawner.spawn(reader(rx))); | 36 | unwrap!(spawner.spawn(reader(rx))); |
| 37 | 37 | ||
