diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-09-19 06:00:45 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-09-19 06:00:45 +0000 |
commit | 1621158c622e8dbe49deaacf88ea3f5b843b54ac (patch) | |
tree | 3ed98889f06da34af51e31c81c45eca3486be6ff /LUFA/Drivers/USB | |
parent | e7e1c21bc5476896f99569dc73ffe1f663f1245a (diff) | |
download | lufa-1621158c622e8dbe49deaacf88ea3f5b843b54ac.tar.gz lufa-1621158c622e8dbe49deaacf88ea3f5b843b54ac.tar.bz2 lufa-1621158c622e8dbe49deaacf88ea3f5b843b54ac.zip |
Fix warning when not compiled for UID auto-selection mode.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/USBController.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/USBController.c b/LUFA/Drivers/USB/LowLevel/USBController.c index 7adfcdc35..7177e2b0e 100644 --- a/LUFA/Drivers/USB/LowLevel/USBController.c +++ b/LUFA/Drivers/USB/LowLevel/USBController.c @@ -104,7 +104,9 @@ void USB_ShutDown(void) void USB_ResetInterface(void) { + #if defined(USB_CAN_BE_BOTH) bool UIDModeSelectEnabled = ((UHWCON & (1 << UIDE)) != 0); + #endif USB_INT_DisableAllInterrupts(); USB_INT_ClearAllInterrupts(); |