X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/e5a7fa201e4482c3658cd382470c4dcfe27578fb..c7344c22ac700dacf55a8dc729111dd7781c5fed:/LUFA/Drivers/USB/Core/USBMode.h 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)