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 setting pull direction in pinConfig #189

Merged
merged 1 commit into from May 14, 2024

Conversation

MatthiasPortzel
Copy link
Contributor

Was getting the error

error: root struct of file 'hal.gpio' has no member named 'set_pull'
                    gpio.set_pull(gpio_num, pull);
                    ~~~~^~~~~~~~~

I don't know if this is the best way to do this, but it seems to work.

@MatthiasPortzel MatthiasPortzel mentioned this pull request May 10, 2024
4 tasks
@mattnite mattnite merged commit 095630e into ZigEmbeddedGroup:main May 14, 2024
3 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.

None yet

2 participants