diff options
| author | James Munns <[email protected]> | 2025-11-14 19:08:16 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-11-14 19:08:16 +0100 |
| commit | 1f589e9428542cd94bc630b623accf04d9c36edf (patch) | |
| tree | c63ec2d0ef51f0d432e00f7f51ea2275b0e88f67 /examples/src/bin/hello.rs | |
| parent | 0bae6aa5aaab5d0f3a3e7e1ec83a0cee909de115 (diff) | |
A little follow-up cleanup
Diffstat (limited to 'examples/src/bin/hello.rs')
| -rw-r--r-- | examples/src/bin/hello.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/bin/hello.rs b/examples/src/bin/hello.rs index ff7afa01d..207c157c3 100644 --- a/examples/src/bin/hello.rs +++ b/examples/src/bin/hello.rs | |||
| @@ -28,7 +28,7 @@ async fn main(_spawner: Spawner) { | |||
| 28 | 28 | ||
| 29 | // Create UART instance using LPUART2 with PIO2_2 as TX and PIO2_3 as RX | 29 | // Create UART instance using LPUART2 with PIO2_2 as TX and PIO2_3 as RX |
| 30 | unsafe { | 30 | unsafe { |
| 31 | embassy_mcxa_examples::init_uart2(hal::pac()); | 31 | embassy_mcxa_examples::init_uart2_pins(hal::pac()); |
| 32 | } | 32 | } |
| 33 | let mut uart = Lpuart::new_blocking( | 33 | let mut uart = Lpuart::new_blocking( |
| 34 | p.LPUART2, // Peripheral | 34 | p.LPUART2, // Peripheral |
