From 0d8394ae21c8237af94a3b874b053357f7e8614e Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Sat, 14 Dec 2024 15:40:19 -0800 Subject: [PATCH] Fix build of pico2-neopixel (missing rename of pioInstructions) --- pico2-neopixel/Sources/Application/Application.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pico2-neopixel/Sources/Application/Application.swift b/pico2-neopixel/Sources/Application/Application.swift index 0aad5272..aec8d430 100644 --- a/pico2-neopixel/Sources/Application/Application.swift +++ b/pico2-neopixel/Sources/Application/Application.swift @@ -48,7 +48,7 @@ func configureOutputPin() { /// `clkdiv_restart` to clear any persisted state. func configurePio() { // Load the assembled program directly into the PIO's instruction memory. - withUnsafeBytes(of: WS2812.pio_instructions) { pointer in + withUnsafeBytes(of: WS2812.pioInstructions) { pointer in let pioInstructions = pointer.assumingMemoryBound(to: UInt16.self) for (index, pio_instr) in pioInstructions.enumerated() { pio0.instr_mem[index].write { w in