summaryrefslogtreecommitdiffstatshomepage
path: root/ports/unix/modmachine.c
diff options
context:
space:
mode:
authorJonathan Hogg <me@jonathanhogg.com>2020-11-09 13:11:52 +0000
committerDamien George <damien@micropython.org>2020-11-12 15:27:41 +1100
commit8a917ad2529ea3df5f47e2be5b4edf362d2d03f6 (patch)
treeb49eebb152f320330de39fc1c1e863b09cd79e53 /ports/unix/modmachine.c
parentb04240cb77c5305a63b4ca7b36229d410eca2072 (diff)
downloadmicropython-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