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 /tests/nrf/src/bin/uart_split.rs | |
| parent | a44abaf7e4562fa5393087fd845bf0d02141325b (diff) | |
BufferedUart initialization
This change modifies UART initialization throughout Embassy to take pins
before interrupts.
Related to #1304.
Diffstat (limited to 'tests/nrf/src/bin/uart_split.rs')
| -rw-r--r-- | tests/nrf/src/bin/uart_split.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nrf/src/bin/uart_split.rs b/tests/nrf/src/bin/uart_split.rs index f24903297..8fe710068 100644 --- a/tests/nrf/src/bin/uart_split.rs +++ b/tests/nrf/src/bin/uart_split.rs | |||
| @@ -22,9 +22,9 @@ async fn main(_spawner: Spawner) { | |||
| 22 | 22 | ||
| 23 | let uarte = Uarte::new( | 23 | let uarte = Uarte::new( |
| 24 | peri!(p, UART0).reborrow(), | 24 | peri!(p, UART0).reborrow(), |
| 25 | irqs!(UART0), | ||
| 26 | peri!(p, PIN_A).reborrow(), | 25 | peri!(p, PIN_A).reborrow(), |
| 27 | peri!(p, PIN_B).reborrow(), | 26 | peri!(p, PIN_B).reborrow(), |
| 27 | irqs!(UART0), | ||
| 28 | config.clone(), | 28 | config.clone(), |
| 29 | ); | 29 | ); |
| 30 | let (mut tx, mut rx) = uarte.split(); | 30 | let (mut tx, mut rx) = uarte.split(); |
