diff options
| author | Michael Gomez <[email protected]> | 2025-03-19 20:44:16 -0700 |
|---|---|---|
| committer | Michael Gomez <[email protected]> | 2025-04-04 21:54:36 -0700 |
| commit | f1feedf19031d0c007628569add51ff89ae08447 (patch) | |
| tree | b9ecb4c4e809115a9e8cd8a7bc4cae293dbfc713 /examples/nrf5340 | |
| parent | a44abaf7e4562fa5393087fd845bf0d02141325b (diff) | |
BufferedUart initialization
This change modifies UART initialization throughout Embassy to take pins
before interrupts.
Related to #1304.
Diffstat (limited to 'examples/nrf5340')
| -rw-r--r-- | examples/nrf5340/src/bin/uart.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf5340/src/bin/uart.rs b/examples/nrf5340/src/bin/uart.rs index 7b41d7463..7e8b8d418 100644 --- a/examples/nrf5340/src/bin/uart.rs +++ b/examples/nrf5340/src/bin/uart.rs | |||
| @@ -18,7 +18,7 @@ async fn main(_spawner: Spawner) { | |||
| 18 | config.parity = uarte::Parity::EXCLUDED; | 18 | config.parity = uarte::Parity::EXCLUDED; |
| 19 | config.baudrate = uarte::Baudrate::BAUD115200; | 19 | config.baudrate = uarte::Baudrate::BAUD115200; |
| 20 | 20 | ||
| 21 | let mut uart = uarte::Uarte::new(p.SERIAL0, Irqs, p.P1_00, p.P1_01, config); | 21 | let mut uart = uarte::Uarte::new(p.SERIAL0, p.P1_00, p.P1_01, Irqs, config); |
| 22 | 22 | ||
| 23 | info!("uarte initialized!"); | 23 | info!("uarte initialized!"); |
| 24 | 24 | ||
