diff options
author | Fabio Utzig <utzig@utzig.org> | 2016-04-10 11:29:36 +0000 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2016-04-10 11:29:36 +0000 |
commit | c6da283acda7fe9458f3240be66d70f424f0e031 (patch) | |
tree | 3da9ad0eae4d34158c5f35547cc775537f072619 | |
parent | 88a86b4f3ff67b9582d6d7d7fdba403a90983951 (diff) | |
download | ChibiOS-c6da283acda7fe9458f3240be66d70f424f0e031.tar.gz ChibiOS-c6da283acda7fe9458f3240be66d70f424f0e031.tar.bz2 ChibiOS-c6da283acda7fe9458f3240be66d70f424f0e031.zip |
[AVR] Removed unused register
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9273 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/ports/AVR/hal_adc_lld.c | 2 |
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);
|