diff options
author | Damien George <damien.p.george@gmail.com> | 2019-03-26 15:21:23 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-03-26 15:21:23 +1100 |
commit | 673db939b5c1f42c9411f684343d39811b7a16b2 (patch) | |
tree | 9f1b6c5e74fb898557d122d4b635f651ecdb6df1 /py/runtime.c | |
parent | e0c6dfe90a3e6265b06265c5b3124c24703776f1 (diff) |
esp32/machine_pin: Rework pull mode config to fix GPIO hold feature.
For gpio_hold_en() to work properly (not draw additional current) pull
up/down must be disabled when hold is enabled. This patch makes sure this
is the case by reworking the pull constants to be a bit mask.
Diffstat (limited to 'py/runtime.c')
0 files changed, 0 insertions, 0 deletions