X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/23c1653efe58d436504c01438133c1ef7b3f8fbc..c1be3073939c71d17c92fcbce4e1690d0a1443f0:/LUFA/Drivers/USB/HighLevel/USBTask.c diff --git a/LUFA/Drivers/USB/HighLevel/USBTask.c b/LUFA/Drivers/USB/HighLevel/USBTask.c index 500a697bc..31cedacb8 100644 --- a/LUFA/Drivers/USB/HighLevel/USBTask.c +++ b/LUFA/Drivers/USB/HighLevel/USBTask.c @@ -36,11 +36,11 @@ volatile bool USB_IsInitialized; USB_Request_Header_t USB_ControlRequest; -#if defined(USB_CAN_BE_HOST) +#if defined(USB_CAN_BE_HOST) && !defined(HOST_STATE_AS_GPIOR1) volatile uint8_t USB_HostState; #endif -#if defined(USB_CAN_BE_DEVICE) +#if defined(USB_CAN_BE_DEVICE) && !defined(DEVICE_STATE_AS_GPIOR0) volatile uint8_t USB_DeviceState; #endif