Skip to content

Conversation

@jeeger
Copy link

@jeeger jeeger commented Oct 31, 2025

For the compiler versions in the Nix flake, the settings struct is padded (at byte 15, right after the red LED color), resulting in the button_volume field running off the end of the value. Adding the packed attribute fixes this, at least for the simulator.

For the compiler versions in the Nix flake, the settings struct is padded (at byte 15, right after the red LED color), resulting in the `button_volume` field running off the end of the value. Adding the __packed__ attribute fixes this, at least for the simulator.
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.

1 participant