Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
082537f5
Commit
082537f5
authored
Jun 06, 2012
by
Dean Camera
Browse files
Oops - really fix logic errors in USBMode.h.
parent
940145ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/USB/Core/USBMode.h
View file @
082537f5
...
...
@@ -239,14 +239,8 @@
#define USB_CAN_BE_DEVICE
#endif
#if ( defined(USB_CAN_BE_DEVICE) && !defined(USB_CAN_BE_HOST))
#if !defined(USB_DEVICE_ONLY)
#define USB_DEVICE_ONLY
#endif
#elif (!defined(USB_CAN_BE_DEVICE) && defined(USB_CAN_BE_HOST))
#if !defined(USB_HOST_ONLY)
#define USB_HOST_ONLY
#endif
#if (defined(USB_CAN_BE_DEVICE) && defined(USB_CAN_BE_HOST))
#define USB_CAN_BE_BOTH
#endif
#if defined(USB_HOST_ONLY)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment