Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pico2-neopixel/Sources/Application/Application.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading