Skip to content

Commit 6b25a60

Browse files
authored
Fix build of pico2-neopixel (missing rename of pioInstructions) (#79)
1 parent 1abae89 commit 6b25a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pico2-neopixel/Sources/Application/Application.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func configureOutputPin() {
4848
/// `clkdiv_restart` to clear any persisted state.
4949
func configurePio() {
5050
// Load the assembled program directly into the PIO's instruction memory.
51-
withUnsafeBytes(of: WS2812.pio_instructions) { pointer in
51+
withUnsafeBytes(of: WS2812.pioInstructions) { pointer in
5252
let pioInstructions = pointer.assumingMemoryBound(to: UInt16.self)
5353
for (index, pio_instr) in pioInstructions.enumerated() {
5454
pio0.instr_mem[index].write { w in

0 commit comments

Comments
 (0)