diff options
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/LowLevel.c')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/LowLevel.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/LowLevel.c b/LUFA/Drivers/USB/LowLevel/LowLevel.c index f4f277ccb..0d220cedc 100644 --- a/LUFA/Drivers/USB/LowLevel/LowLevel.c +++ b/LUFA/Drivers/USB/LowLevel/LowLevel.c @@ -39,6 +39,10 @@ volatile uint8_t USB_CurrentMode = USB_MODE_NONE; volatile uint8_t USB_Options;
#endif
+#if defined(__AVR32__) && !defined(CONTROL_ONLY_DEVICE)
+uint8_t USB_SelectedEPNumber;
+#endif
+
void USB_Init(
#if defined(USB_CAN_BE_BOTH)
const uint8_t Mode
@@ -55,6 +59,10 @@ void USB_Init( #endif
)
{
+ #if defined(__AVR32__)
+ USB_SelectedEPNumber = 0;
+ #endif
+
#if defined(USB_CAN_BE_BOTH)
USB_CurrentMode = Mode;
#endif
|