Skip to content
Snippets Groups Projects
Commit 9fdc53d7 authored by Dean Camera's avatar Dean Camera
Browse files

Fix errors from last commit.

parent 4d3a594f
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ void USB_ResetInterface(void) ...@@ -165,7 +165,7 @@ void USB_ResetInterface(void)
if (!(USB_Options & USB_OPT_MANUAL_PLL)) 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)); PLLFRQ = ((1 << PLLUSB) | (1 << PDIV3) | (1 << PDIV1));
#endif #endif
......
...@@ -107,12 +107,10 @@ ...@@ -107,12 +107,10 @@
*/ */
#define USB_MODE_NONE 0 #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 /** 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. * USB interface is or should be initialized in the USB device mode.
*/ */
#define USB_MODE_DEVICE 1 #define USB_MODE_DEVICE 1
#endif
#if defined(USB_CAN_BE_HOST) || defined(__DOXYGEN__) #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 /** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment