summaryrefslogtreecommitdiff
path: root/lib/utils/pyexec.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2017-09-16 13:06:23 -0400
committerGitHub <noreply@github.com>2017-09-16 13:06:23 -0400
commit75c3be37ac14fc2b188bd932348e45546a806f1a (patch)
treef1ad31bfda103eb79fc04e5adcd51e8beaa7045b /lib/utils/pyexec.c
parent5aa8922038a5f0ee07c7c36a3d8eab0547f585bc (diff)
Re-initialize ADC before every AnalogIn read. (#255)
`microcontroller.cpu.temperature` uses different ADC settings, and caused AnalogIn to give wrong answers. AnalogIn can no longer assume it's the only user of the ADC.
Diffstat (limited to 'lib/utils/pyexec.c')
0 files changed, 0 insertions, 0 deletions