aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-19 05:08:04 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-19 05:08:04 +0000
commitfeabfd12ce3d14b43d2decb2b2f1c5b27e9d6181 (patch)
tree0ba750826bc90999461f8b5657157742771c6956 /LUFA/Drivers
parentbeb0b2bda0c45e958e88933a055d409e42fa0a0b (diff)
downloadlufa-feabfd12ce3d14b43d2decb2b2f1c5b27e9d6181.tar.gz
lufa-feabfd12ce3d14b43d2decb2b2f1c5b27e9d6181.tar.bz2
lufa-feabfd12ce3d14b43d2decb2b2f1c5b27e9d6181.zip
Fix makefiles -- the auto-addition of -D switches to each LUFA compile time option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Host.c2
-rw-r--r--LUFA/Drivers/USB/LowLevel/Host.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Host.c b/LUFA/Drivers/USB/LowLevel/Host.c
index 421719bf8..1932b645c 100644
--- a/LUFA/Drivers/USB/LowLevel/Host.c
+++ b/LUFA/Drivers/USB/LowLevel/Host.c
@@ -302,7 +302,7 @@ uint8_t USB_Host_SetDeviceConfiguration(uint8_t ConfigNumber)
return USB_Host_SendControlRequest(NULL);
}
-uint8_t USB_Host_GetDeviceDescriptor(USB_Descriptor_Device_t* DeviceDescriptorPtr)
+uint8_t USB_Host_GetDeviceDescriptor(void* DeviceDescriptorPtr)
{
USB_ControlRequest = (USB_Request_Header_t)
{
diff --git a/LUFA/Drivers/USB/LowLevel/Host.h b/LUFA/Drivers/USB/LowLevel/Host.h
index 2a40a1dbc..26e2d7675 100644
--- a/LUFA/Drivers/USB/LowLevel/Host.h
+++ b/LUFA/Drivers/USB/LowLevel/Host.h
@@ -199,7 +199,7 @@
*
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum to indicate the result.
*/
- uint8_t USB_Host_GetDeviceDescriptor(USB_Descriptor_Device_t* DeviceDescriptorPtr);
+ uint8_t USB_Host_GetDeviceDescriptor(void* DeviceDescriptorPtr);
/** Clears a stall condition on the given pipe, via a ClearFeature request to the attached device.
*