We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1abae89 commit 6b25a60Copy full SHA for 6b25a60
pico2-neopixel/Sources/Application/Application.swift
@@ -48,7 +48,7 @@ func configureOutputPin() {
48
/// `clkdiv_restart` to clear any persisted state.
49
func configurePio() {
50
// Load the assembled program directly into the PIO's instruction memory.
51
- withUnsafeBytes(of: WS2812.pio_instructions) { pointer in
+ withUnsafeBytes(of: WS2812.pioInstructions) { pointer in
52
let pioInstructions = pointer.assumingMemoryBound(to: UInt16.self)
53
for (index, pio_instr) in pioInstructions.enumerated() {
54
pio0.instr_mem[index].write { w in
0 commit comments