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

fixing register so there is 32 bits #349

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

freiguy1
Copy link
Contributor

Pretty simple one! The bits didn't add up to 32, and I was getting this error:

1:34: error: backing integer type 'u32' has bit size 32 but the struct fields have a total bit size of 22
    SCR: mmio.Mmio(packed struct(u32) {

@mattnite mattnite merged commit d6ba2eb into ZigEmbeddedGroup:main Jan 17, 2025
11 checks passed
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