projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed logic hole breaking USB operations on a USB controller with only one supported...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Core
/
UC3
/
USBController_UC3.c
diff --git
a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
index
6a3df6e
..
159bf71
100644
(file)
--- a/
LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
+++ b/
LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
@@
-35,7
+35,7
@@
#define __INCLUDE_FROM_USB_CONTROLLER_C
#include "../USBController.h"
-#if
(!defined(USB_HOST_ONLY) && !defined(USB_DEVICE_ONLY)
)
+#if
defined(USB_CAN_BE_BOTH
)
volatile uint8_t USB_CurrentMode = USB_MODE_None;
#endif