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/nrf9151/ns | |
| parent | a44abaf7e4562fa5393087fd845bf0d02141325b (diff) | |
BufferedUart initialization
This change modifies UART initialization throughout Embassy to take pins
before interrupts.
Related to #1304.
Diffstat (limited to 'examples/nrf9151/ns')
| -rw-r--r-- | examples/nrf9151/ns/src/bin/uart.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf9151/ns/src/bin/uart.rs b/examples/nrf9151/ns/src/bin/uart.rs index 234ff35f2..6fd377978 100644 --- a/examples/nrf9151/ns/src/bin/uart.rs +++ b/examples/nrf9151/ns/src/bin/uart.rs | |||
| @@ -17,7 +17,7 @@ async fn main(_spawner: Spawner) { | |||
| 17 | config.parity = uarte::Parity::EXCLUDED; | 17 | config.parity = uarte::Parity::EXCLUDED; |
| 18 | config.baudrate = uarte::Baudrate::BAUD115200; | 18 | config.baudrate = uarte::Baudrate::BAUD115200; |
| 19 | 19 | ||
| 20 | let mut uart = uarte::Uarte::new(p.SERIAL0, Irqs, p.P0_26, p.P0_27, config); | 20 | let mut uart = uarte::Uarte::new(p.SERIAL0, p.P0_26, p.P0_27, Irqs, config); |
| 21 | 21 | ||
| 22 | info!("uarte initialized!"); | 22 | info!("uarte initialized!"); |
| 23 | 23 | ||
