aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/AVR/hal_adc_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/AVR/hal_adc_lld.c')
-rw-r--r--os/hal/ports/AVR/hal_adc_lld.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/os/hal/ports/AVR/hal_adc_lld.c b/os/hal/ports/AVR/hal_adc_lld.c
index 807411155..4ea634c8f 100644
--- a/os/hal/ports/AVR/hal_adc_lld.c
+++ b/os/hal/ports/AVR/hal_adc_lld.c
@@ -114,8 +114,6 @@ void adc_lld_init(void) {
//prescaler 128, only value possible at 20Mhz, interrupt
ADCSRA = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0) | (1 << ADIE);
- ADCSRB = 0; //single shot
-
//uso aref, only valid for arduino. arduino ha aref collegato
ADMUX = (0 << REFS1) | (0 << REFS0);