aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/serial.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-04-25 14:07:39 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-04-25 19:13:44 -0400
commit46cf3ef1457d0ea63dc30ecd3f343af83e03b589 (patch)
tree0e6faf878e72b008448c3849031d207343a19d49 /src/avr/serial.c
parentcf475a9a39068292715d4cafe8b4b3f306e5fe35 (diff)
downloadkutter-46cf3ef1457d0ea63dc30ecd3f343af83e03b589.tar.gz
kutter-46cf3ef1457d0ea63dc30ecd3f343af83e03b589.tar.xz
kutter-46cf3ef1457d0ea63dc30ecd3f343af83e03b589.zip
avr: Explicitly set ADCSRA on each conversion start
Don't logically or the ADSC bit on the start of a conversion - explicitly set the full contents of the register. Also, clear the ADIF flag on each write. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/avr/serial.c')
0 files changed, 0 insertions, 0 deletions