From c6da283acda7fe9458f3240be66d70f424f0e031 Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Sun, 10 Apr 2016 11:29:36 +0000 Subject: [AVR] Removed unused register git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9273 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/AVR/hal_adc_lld.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'os/hal') 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); -- cgit v1.2.3