summaryrefslogtreecommitdiff
path: root/tests/basics/deque1.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2020-10-28 17:19:52 +1100
committerDamien George <damien@micropython.org>2020-10-29 11:09:43 +1100
commit0118c07916c24a6ccb6dbd0ea904312f01798b40 (patch)
treec9fd772d732d0cb7969204c43f0dd02f9adfd6f7 /tests/basics/deque1.py
parent368c1a09611f2a139c0e401eeb4359f9cc2a7c57 (diff)
stm32/machine_adc: Fix ADC auto-calibration to run when ADC not enabled.
Prior to this commit, the ADC calibration code was never executing because ADVREGEN bit was set making the CR register always non-zero. This commit changes the logic so that ADC calibration is always run when the ADC is disabled and an ADC channel is initialised. It also uses the LL API functions to do the calibration, to make sure it is done correctly on each MCU variant. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/deque1.py')
0 files changed, 0 insertions, 0 deletions