Skip to content

Fix setting pull direction in pinConfig#189

Merged
mattnite merged 1 commit intoZigEmbeddedGroup:mainfrom
MatthiasPortzel:main
May 14, 2024
Merged

Fix setting pull direction in pinConfig#189
mattnite merged 1 commit intoZigEmbeddedGroup:mainfrom
MatthiasPortzel:main

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
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