Reformatting and add const qualifiers.
[pub/USBasp.git] / LUFA / CodeTemplates / HostTemplate / HostApplication.c
index 6f9e7af..47f0dc8 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2013.
+     Copyright (C) Dean Camera, 2018.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2013  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2018  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -122,7 +122,7 @@ void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode,
  * option is set, this is still required even in an application that uses host mode only.
  */
 uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
  * option is set, this is still required even in an application that uses host mode only.
  */
 uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
-               const uint8_t wIndex,
+               const uint16_t wIndex,
                const void** const DescriptorAddress
 #if defined(HAS_MULTIPLE_DESCRIPTOR_ADDRESS_SPACES)
                , uint8_t* const DescriptorMemorySpace
                const void** const DescriptorAddress
 #if defined(HAS_MULTIPLE_DESCRIPTOR_ADDRESS_SPACES)
                , uint8_t* const DescriptorMemorySpace