diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-04-25 14:07:39 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-04-25 19:13:44 -0400 |
commit | 46cf3ef1457d0ea63dc30ecd3f343af83e03b589 (patch) | |
tree | 0e6faf878e72b008448c3849031d207343a19d49 /klippy/chelper/stepcompress.c | |
parent | cf475a9a39068292715d4cafe8b4b3f306e5fe35 (diff) | |
download | kutter-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 'klippy/chelper/stepcompress.c')
0 files changed, 0 insertions, 0 deletions