Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature...
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / Endpoint.c
index efa1a2d..da2925e 100644 (file)
@@ -82,6 +82,7 @@ void Endpoint_ClearEndpoints(void)
        }\r
 }\r
 \r
+#if !defined(CONTROL_ONLY_DEVICE)\r
 uint8_t Endpoint_WaitUntilReady(void)\r
 {\r
        uint16_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;\r
@@ -289,6 +290,7 @@ uint8_t Endpoint_Read_Stream_BE(void* Buffer, uint16_t Length
        \r
        return ENDPOINT_RWSTREAM_ERROR_NoError;\r
 }\r
+#endif\r
 \r
 uint8_t Endpoint_Write_Control_Stream_LE(const void* Buffer, uint16_t Length)\r
 {\r