aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf9160/src
diff options
context:
space:
mode:
authorMichael Gomez <[email protected]>2025-03-19 20:44:16 -0700
committerMichael Gomez <[email protected]>2025-04-04 21:54:36 -0700
commitf1feedf19031d0c007628569add51ff89ae08447 (patch)
treeb9ecb4c4e809115a9e8cd8a7bc4cae293dbfc713 /examples/nrf9160/src
parenta44abaf7e4562fa5393087fd845bf0d02141325b (diff)
BufferedUart initialization
This change modifies UART initialization throughout Embassy to take pins before interrupts. Related to #1304.
Diffstat (limited to 'examples/nrf9160/src')
-rw-r--r--examples/nrf9160/src/bin/modem_tcp_client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf9160/src/bin/modem_tcp_client.rs b/examples/nrf9160/src/bin/modem_tcp_client.rs
index 2ba964b1f..a36b14626 100644
--- a/examples/nrf9160/src/bin/modem_tcp_client.rs
+++ b/examples/nrf9160/src/bin/modem_tcp_client.rs
@@ -127,8 +127,8 @@ async fn main(spawner: Spawner) {
127 let uart = BufferedUarteTx::new( 127 let uart = BufferedUarteTx::new(
128 //let trace_uart = BufferedUarteTx::new( 128 //let trace_uart = BufferedUarteTx::new(
129 unsafe { peripherals::SERIAL0::steal() }, 129 unsafe { peripherals::SERIAL0::steal() },
130 Irqs,
131 unsafe { peripherals::P0_01::steal() }, 130 unsafe { peripherals::P0_01::steal() },
131 Irqs,
132 //unsafe { peripherals::P0_14::steal() }, 132 //unsafe { peripherals::P0_14::steal() },
133 config, 133 config,
134 unsafe { &mut *addr_of_mut!(TRACE_BUF) }, 134 unsafe { &mut *addr_of_mut!(TRACE_BUF) },