summaryrefslogtreecommitdiff
path: root/py/objfloat.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-02-03 16:29:54 +1100
committerDamien George <damien@micropython.org>2021-02-04 10:55:43 +1100
commit7f7b4f2bc68a06c9f47d6b99e953cac0b21c26c9 (patch)
treea753fb264bfbdeb4cb2640eddb245e2fdd58a2e0 /py/objfloat.c
parent78b23c3a1f064dc19bbee68930ef3aba110c781c (diff)
rp2/machine_adc: Only initialise the ADC periph if not already enabled.
Otherwise it resets the ADC peripheral each time a new ADC object is constructed, which can reset other state that has already been set up. See issue #6833. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objfloat.c')
0 files changed, 0 insertions, 0 deletions