diff options
author | Paul Grayson <pdg@alum.mit.edu> | 2022-12-24 09:55:12 -0800 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-01-12 16:36:03 +1100 |
commit | b208cf23e290c169bf346137c30bc2a0176a223d (patch) | |
tree | e4a61304bff8b8bea5e3bb1a4284a9a515288700 /docs/esp32/tutorial | |
parent | f0f5c6568de8a194f4f77c19f4e2087b87d1ab7e (diff) |
rp2/mphalport: Change order of pin operations to prevent glitches.
When switching from a special function like SPI to an input or output,
there was a brief period after the function was disabled but before the
pin's I/O state was configured, in which the state would be poorly defined.
This fixes the problem by switching off the special function after fully
configuring the I/O state.
Fixes #10226.
Signed-off-by: Paul Grayson <pdg@alum.mit.edu>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions