aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Peripheral
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-05-04 11:54:37 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-05-04 11:54:37 +0000
commita926053ab55566b30eb83b12c0e32b890db91740 (patch)
treec5fc1bf01935ed4b9c8ad59b0c30a12ec35f5ca8 /LUFA/Drivers/Peripheral
parentab8668b14ee05854dfe935bf143be7ebe051b8f5 (diff)
downloadlufa-a926053ab55566b30eb83b12c0e32b890db91740.tar.gz
lufa-a926053ab55566b30eb83b12c0e32b890db91740.tar.bz2
lufa-a926053ab55566b30eb83b12c0e32b890db91740.zip
Fix up the ADC driver for the U4 parts to remove a typo on one of the register names.
Diffstat (limited to 'LUFA/Drivers/Peripheral')
-rw-r--r--LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h b/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h
index 3a1583ece..5bf840b5a 100644
--- a/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h
+++ b/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h
@@ -303,9 +303,9 @@
#if (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || defined(__DOXYGEN__))
if (MUXMask & (1 << 8))
- ADCSB |= (1 << MUX5);
+ ADCSRB |= (1 << MUX5);
else
- ADCSB &= ~(1 << MUX5);
+ ADCSRB &= ~(1 << MUX5);
#endif
ADCSRA |= (1 << ADSC);