diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-16 00:40:52 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-16 00:40:52 +0000 |
commit | b0ce1eab668ac2e4779bbf8c3e6ef193d0ab0368 (patch) | |
tree | 65fe680fb33bb870b8d577bacf4752a8d1fce7d8 /LUFA/Drivers/USB | |
parent | 77dda302acb0402a27565e12f98ffc56c1a86389 (diff) | |
download | lufa-b0ce1eab668ac2e4779bbf8c3e6ef193d0ab0368.tar.gz lufa-b0ce1eab668ac2e4779bbf8c3e6ef193d0ab0368.tar.bz2 lufa-b0ce1eab668ac2e4779bbf8c3e6ef193d0ab0368.zip |
Fix incorrect preprocessor checks in the PLL prescaler mask determination code for the ATMEGA32U2.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/LowLevel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/LowLevel.h b/LUFA/Drivers/USB/LowLevel/LowLevel.h index aa760cd35..dc01d24e5 100644 --- a/LUFA/Drivers/USB/LowLevel/LowLevel.h +++ b/LUFA/Drivers/USB/LowLevel/LowLevel.h @@ -77,7 +77,7 @@ #if (F_CLOCK == 8000000)
#if (defined(__AVR_AT90USB82__) || defined(__AVR_AT90USB162__) || \
defined(__AVR_ATmega8U2__) || defined(__AVR_ATmega16U2__) || \
- defined(__AVR_ATmega32U2))
+ defined(__AVR_ATmega32U2__))
#define USB_PLL_PSC 0
#elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__))
#define USB_PLL_PSC 0
@@ -89,7 +89,7 @@ #elif (F_CLOCK == 16000000)
#if (defined(__AVR_AT90USB82__) || defined(__AVR_AT90USB162__) || \
defined(__AVR_ATmega8U2__) || defined(__AVR_ATmega16U2__) || \
- defined(__AVR_ATmega32U2))
+ defined(__AVR_ATmega32U2__))
#define USB_PLL_PSC (1 << PLLP0)
#elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__))
#define USB_PLL_PSC (1 << PINDIV)
|