Oops - really fix logic errors in USBMode.h.

pull/1469/head
Dean Camera 13 years ago
parent 940145ca6d
commit 082537f5bd

@ -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)

Loading…
Cancel
Save