Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build of pico2-neopixel (missing rename of pioInstructions) #79

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

kubamracek
Copy link
Collaborator

Fixes a build error:

/Users/kuba/Documents/swift-embedded-examples/pico2-neopixel/Sources/Application/Application.swift:51:30: error: type 'WS2812' has no member 'pio_instructions'
 49 | func configurePio() {
 50 |   // Load the assembled program directly into the PIO's instruction memory.
 51 |   withUnsafeBytes(of: WS2812.pio_instructions) { pointer in
    |                              `- error: type 'WS2812' has no member 'pio_instructions'
 52 |     let pioInstructions = pointer.assumingMemoryBound(to: UInt16.self)
 53 |     for (index, pio_instr) in pioInstructions.enumerated() {

make: *** [build] Error 1

@kubamracek kubamracek requested a review from rauhul as a code owner December 14, 2024 23:40
@kubamracek kubamracek merged commit 6b25a60 into main Dec 15, 2024
6 checks passed
@kubamracek kubamracek deleted the fix-neopixel-build branch December 15, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants