diff options
| author | James Munns <[email protected]> | 2025-11-24 18:41:43 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-24 18:41:43 +0100 |
| commit | 7ee5cb570f0c0daeb2e6a9d5120fd96ee885025f (patch) | |
| tree | e10b98df1dd9f96b7b3874a06f201d2e23f2fbc9 /examples/src/bin/lpuart_polling.rs | |
| parent | 6e1bc1139b7dcc8407fd1213bf0cb0788d26288e (diff) | |
Remove the pac singleton function (#42)
There will be a follow up PR that removes the unsafe `init` functions,
but I wanted to squash this out first in case I don't get to it all today.
Diffstat (limited to 'examples/src/bin/lpuart_polling.rs')
| -rw-r--r-- | examples/src/bin/lpuart_polling.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/bin/lpuart_polling.rs b/examples/src/bin/lpuart_polling.rs index 525d42e2c..c8666e64a 100644 --- a/examples/src/bin/lpuart_polling.rs +++ b/examples/src/bin/lpuart_polling.rs | |||
| @@ -15,7 +15,7 @@ async fn main(_spawner: Spawner) { | |||
| 15 | 15 | ||
| 16 | // Board-level init for UART2 clocks and pins. | 16 | // Board-level init for UART2 clocks and pins. |
| 17 | unsafe { | 17 | unsafe { |
| 18 | init_uart2_pins(hal::pac()); | 18 | init_uart2_pins(); |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | // Create UART configuration | 21 | // Create UART configuration |
