diff options
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Core/USBMode.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/USBMode.h b/LUFA/Drivers/USB/Core/USBMode.h index f62c8c152..02c4ec321 100644 --- a/LUFA/Drivers/USB/Core/USBMode.h +++ b/LUFA/Drivers/USB/Core/USBMode.h @@ -239,8 +239,12 @@ #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 + #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) |