/*\r
LUFA Library\r
- Copyright (C) Dean Camera, 2009.\r
+ Copyright (C) Dean Camera, 2010.\r
\r
dean [at] fourwalledcubicle [dot] com\r
www.fourwalledcubicle.com\r
*/\r
\r
/*\r
- Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+ Copyright 2010 Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
\r
Permission to use, copy, modify, distribute, and sell this \r
software and its documentation for any purpose is hereby granted\r
this software.\r
*/\r
\r
+#define __INCLUDE_FROM_USB_DRIVER\r
#include "../HighLevel/USBMode.h"\r
\r
#if defined(USB_CAN_BE_HOST)\r
\r
-#define INCLUDE_FROM_HOST_C\r
+#define __INCLUDE_FROM_HOST_C\r
#include "Host.h"\r
\r
void USB_Host_ProcessNextHostState(void)\r
return USB_Host_SendControlRequest(DeviceDescriptorPtr);\r
}\r
\r
-uint8_t USB_Host_GetDeviceStringDescriptor(uint8_t Index, void* const Buffer, uint8_t BufferLength)\r
+uint8_t USB_Host_GetDeviceStringDescriptor(const uint8_t Index, void* const Buffer, const uint8_t BufferLength)\r
{\r
USB_ControlRequest = (USB_Request_Header_t)\r
{\r