diff options
author | Damien George <damien@micropython.org> | 2021-04-15 13:02:34 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-04-15 13:06:05 +1000 |
commit | e5d2ddde25351f1ede7d0d1b00be632301962fb0 (patch) | |
tree | e5d8f48f493839a3da3dfd585afc68c62a77449f /docs/conf.py | |
parent | a9bbf7083ef6b79cf80bdbf34984d847a6c4aae9 (diff) |
esp32/machine_pin: Use rtc_gpio_deinit instead of gpio_reset_pin.
Commit 8a917ad2529ea3df5f47e2be5b4edf362d2d03f6 added the gpio_reset_pin()
call to make sure that pins that were used as ADC inputs could subsequently
be used as digital IO. But calling gpio_reset_pin() will enable the
pull-up on the pin and so pull it high for a brief period. Instead use
rtc_gpio_deinit() which will just reconfigure the pin as a digital IO and
do nothing else.
Fixes issue #7079 (see also #5771).
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions