diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-01-07 22:11:40 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-01-07 22:13:39 -0500 |
commit | f6cd51bfb7de788bfc6ecd88ecd4c454e1403275 (patch) | |
tree | f3fc577ea14932cdaabbaf03af328704059f0abc /src/avr/timer.c | |
parent | 83e9e92b9aa5dbcc7fdcd5ad9a5c862884dbae04 (diff) | |
download | kutter-f6cd51bfb7de788bfc6ecd88ecd4c454e1403275.tar.gz kutter-f6cd51bfb7de788bfc6ecd88ecd4c454e1403275.tar.xz kutter-f6cd51bfb7de788bfc6ecd88ecd4c454e1403275.zip |
avr: Clear the ADCSRA/ADCSRB registers on ADC init
When initializing the ADC, explicitly clear the registers (instead of
logically or'ing them with their previous values).
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/avr/timer.c')
0 files changed, 0 insertions, 0 deletions