Add script reading bootloader flags
[pub/lufa.git] / Bootloaders / HID / Descriptors.h
index 4c7d08b..d3290ec 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2014.
+     Copyright (C) Dean Camera, 2021.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2014  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2021  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
@@ -60,7 +60,7 @@
                 */
                enum InterfaceDescriptors_t
                {
-                       INTERFACE_ID_Printer = 0, /**< Printer interface descriptor ID */
+                       INTERFACE_ID_GenericHID = 0, /**< GenericHID interface descriptor ID */
                };
 
        /* Macros: */
@@ -72,7 +72,7 @@
 
        /* Function Prototypes: */
                uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
-                                                   const uint8_t wIndex,
+                                                   const uint16_t wIndex,
                                                    const void** const DescriptorAddress)
                                                    ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);