Commit 082537f5 authored by Dean Camera's avatar Dean Camera

Oops - really fix logic errors in USBMode.h.

parent 940145ca
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment