projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch StaticAnalysisTest build test to use the new build system CPPCHECK module...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Core
/
USBMode.h
diff --git
a/LUFA/Drivers/USB/Core/USBMode.h
b/LUFA/Drivers/USB/Core/USBMode.h
index
f62c8c1
..
02c4ec3
100644
(file)
--- a/
LUFA/Drivers/USB/Core/USBMode.h
+++ b/
LUFA/Drivers/USB/Core/USBMode.h
@@
-239,8
+239,12
@@
#define USB_CAN_BE_DEVICE
#endif
#define USB_CAN_BE_DEVICE
#endif
- #if
(defined(USB_CAN_BE_DEVICE) &&
defined(USB_CAN_BE_HOST))
+ #if
( defined(USB_CAN_BE_DEVICE) &&
defined(USB_CAN_BE_HOST))
#define USB_CAN_BE_BOTH
#define USB_CAN_BE_BOTH
+ #elif ( defined(USB_CAN_BE_DEVICE) && !defined(USB_CAN_BE_HOST))
+ #define USB_DEVICE_ONLY
+ #elif (!defined(USB_CAN_BE_DEVICE) && defined(USB_CAN_BE_HOST))
+ #define USB_HOST_ONLY
#endif
#if defined(USB_HOST_ONLY)
#endif
#if defined(USB_HOST_ONLY)