summaryrefslogtreecommitdiff
path: root/py/runtime.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-03-26 15:21:23 +1100
committerDamien George <damien.p.george@gmail.com>2019-03-26 15:21:23 +1100
commit673db939b5c1f42c9411f684343d39811b7a16b2 (patch)
tree9f1b6c5e74fb898557d122d4b635f651ecdb6df1 /py/runtime.c
parente0c6dfe90a3e6265b06265c5b3124c24703776f1 (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