aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-14 07:57:04 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-14 07:57:04 +0000
commit9fdc53d76541856c38d7ef940988955f84084898 (patch)
treee9c9cb439e47ef2ab4f9c56499ae227b758f597c /LUFA/Drivers
parent4d3a594f3e26447ba223ac58292c9a77480ceed3 (diff)
downloadlufa-9fdc53d76541856c38d7ef940988955f84084898.tar.gz
lufa-9fdc53d76541856c38d7ef940988955f84084898.tar.bz2
lufa-9fdc53d76541856c38d7ef940988955f84084898.zip
Fix errors from last commit.
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r--LUFA/Drivers/USB/LowLevel/LowLevel.c2
-rw-r--r--LUFA/Drivers/USB/LowLevel/LowLevel.h10
2 files changed, 5 insertions, 7 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/LowLevel.c b/LUFA/Drivers/USB/LowLevel/LowLevel.c
index 865a57d57..b829c19f7 100644
--- a/LUFA/Drivers/USB/LowLevel/LowLevel.c
+++ b/LUFA/Drivers/USB/LowLevel/LowLevel.c
@@ -165,7 +165,7 @@ void USB_ResetInterface(void)
if (!(USB_Options & USB_OPT_MANUAL_PLL))
{
- #if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
+ #if defined(USB_SERIES_4_AVR)
PLLFRQ = ((1 << PLLUSB) | (1 << PDIV3) | (1 << PDIV1));
#endif
diff --git a/LUFA/Drivers/USB/LowLevel/LowLevel.h b/LUFA/Drivers/USB/LowLevel/LowLevel.h
index f22a751f0..14d10c776 100644
--- a/LUFA/Drivers/USB/LowLevel/LowLevel.h
+++ b/LUFA/Drivers/USB/LowLevel/LowLevel.h
@@ -107,12 +107,10 @@
*/
#define USB_MODE_NONE 0
- #if defined(USB_CAN_BE_DEVICE) || defined(__DOXYGEN__)
- /** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the
- * USB interface is or should be initialized in the USB device mode.
- */
- #define USB_MODE_DEVICE 1
- #endif
+ /** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the
+ * USB interface is or should be initialized in the USB device mode.
+ */
+ #define USB_MODE_DEVICE 1
#if defined(USB_CAN_BE_HOST) || defined(__DOXYGEN__)
/** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the