diff options
author | Jonathan Hogg <me@jonathanhogg.com> | 2020-11-09 13:11:52 +0000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-11-12 15:27:41 +1100 |
commit | 8a917ad2529ea3df5f47e2be5b4edf362d2d03f6 (patch) | |
tree | b49eebb152f320330de39fc1c1e863b09cd79e53 /ports/unix/modmachine.c | |
parent | b04240cb77c5305a63b4ca7b36229d410eca2072 (diff) | |
download | micropython-8a917ad2529ea3df5f47e2be5b4edf362d2d03f6.tar.gz micropython-8a917ad2529ea3df5f47e2be5b4edf362d2d03f6.zip |
esp32/machine_pin: Reset pin if init sets mode.
This will forcibly grab the pin back from the ADC if it has previously been
associated with it.
Fixes #5771.
Diffstat (limited to 'ports/unix/modmachine.c')
0 files changed, 0 insertions, 0 deletions