ZigEmbeddedGroup / microzig

Unified abstraction layer and HAL for several microcontrollers
zlib License
1.24k stars 102 forks source link

Fix setting pull direction in pinConfig #189

Closed MatthiasPortzel closed 6 months ago

MatthiasPortzel commented 6 months ago

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.