diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-20 14:23:47 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-20 14:23:47 +0000 |
commit | 292fc9b65eba6b874dd4c29087cf499123f8bd0c (patch) | |
tree | 68af690fbf600e9e77dc983865fd6ed25c7560ac /LUFA/Drivers | |
parent | 18f7cd3325418585c1d32426456379356247226d (diff) | |
download | lufa-292fc9b65eba6b874dd4c29087cf499123f8bd0c.tar.gz lufa-292fc9b65eba6b874dd4c29087cf499123f8bd0c.tar.bz2 lufa-292fc9b65eba6b874dd4c29087cf499123f8bd0c.zip |
Move unfinished SideShow source files to nested Lib directory for clarity.
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Host.c | 4 | ||||
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Host.h | 4 | ||||
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Pipe.h | 5 |
3 files changed, 4 insertions, 9 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Host.c b/LUFA/Drivers/USB/LowLevel/Host.c index 78a9ca8fb..efe4baeeb 100644 --- a/LUFA/Drivers/USB/LowLevel/Host.c +++ b/LUFA/Drivers/USB/LowLevel/Host.c @@ -288,7 +288,7 @@ static void USB_Host_ResetDevice(void) USB_INT_Enable(USB_INT_DDISCI);
}
-uint8_t USB_Host_SetDeviceConfiguration(uint8_t ConfigNumber)
+uint8_t USB_Host_SetDeviceConfiguration(const uint8_t ConfigNumber)
{
USB_ControlRequest = (USB_Request_Header_t)
{
@@ -304,7 +304,7 @@ uint8_t USB_Host_SetDeviceConfiguration(uint8_t ConfigNumber) return USB_Host_SendControlRequest(NULL);
}
-uint8_t USB_Host_GetDeviceDescriptor(void* DeviceDescriptorPtr)
+uint8_t USB_Host_GetDeviceDescriptor(void* const DeviceDescriptorPtr)
{
USB_ControlRequest = (USB_Request_Header_t)
{
diff --git a/LUFA/Drivers/USB/LowLevel/Host.h b/LUFA/Drivers/USB/LowLevel/Host.h index d91c1d82d..88634fdae 100644 --- a/LUFA/Drivers/USB/LowLevel/Host.h +++ b/LUFA/Drivers/USB/LowLevel/Host.h @@ -186,7 +186,7 @@ *
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum to indicate the result.
*/
- uint8_t USB_Host_SetDeviceConfiguration(uint8_t ConfigNumber);
+ uint8_t USB_Host_SetDeviceConfiguration(const uint8_t ConfigNumber);
/** Convenience function. This routine sends a GetDescriptor standard request to the attached
* device, requesting the device descriptor. This can be used to easily retrieve information
@@ -199,7 +199,7 @@ *
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum to indicate the result.
*/
- uint8_t USB_Host_GetDeviceDescriptor(void* DeviceDescriptorPtr);
+ uint8_t USB_Host_GetDeviceDescriptor(void* const DeviceDescriptorPtr);
/** Clears a stall condition on the given pipe, via a ClearFeature request to the attached device.
*
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index f03ea09c2..fae8105ff 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -175,11 +175,6 @@ */
#define PIPE_EPNUM_MASK 0x0F
- /** Endpoint bank size mask, for masking against endpoint addresses to retrieve the endpoint's
- * bank size in the attached device.
- */
- #define PIPE_EPSIZE_MASK 0x7FF
-
/* Pseudo-Function Macros: */
#if defined(__DOXYGEN__)
/** Indicates the number of bytes currently stored in the current pipes's selected bank.
|