Fix errors from last commit.
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 14 Jun 2009 07:57:04 +0000 (07:57 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 14 Jun 2009 07:57:04 +0000 (07:57 +0000)
LUFA/Drivers/USB/LowLevel/LowLevel.c
LUFA/Drivers/USB/LowLevel/LowLevel.h

index 865a57d..b829c19 100644 (file)
@@ -165,7 +165,7 @@ void USB_ResetInterface(void)
        \r
        if (!(USB_Options & USB_OPT_MANUAL_PLL))\r
        {\r
        \r
        if (!(USB_Options & USB_OPT_MANUAL_PLL))\r
        {\r
-               #if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)\r
+               #if defined(USB_SERIES_4_AVR)\r
                PLLFRQ = ((1 << PLLUSB) | (1 << PDIV3) | (1 << PDIV1));\r
                #endif\r
 \r
                PLLFRQ = ((1 << PLLUSB) | (1 << PDIV3) | (1 << PDIV1));\r
                #endif\r
 \r
index f22a751..14d10c7 100644 (file)
                         */\r
                        #define USB_MODE_NONE                      0\r
 \r
                         */\r
                        #define USB_MODE_NONE                      0\r
 \r
-                       #if defined(USB_CAN_BE_DEVICE) || defined(__DOXYGEN__)\r
-                               /** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the\r
-                                *  USB interface is or should be initialized in the USB device mode.\r
-                                */\r
-                               #define USB_MODE_DEVICE                    1\r
-                       #endif\r
+                       /** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the\r
+                        *  USB interface is or should be initialized in the USB device mode.\r
+                        */\r
+                       #define USB_MODE_DEVICE                    1\r
                        \r
                        #if defined(USB_CAN_BE_HOST) || defined(__DOXYGEN__)\r
                                /** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the\r
                        \r
                        #if defined(USB_CAN_BE_HOST) || defined(__DOXYGEN__)\r
                                /** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the\r