Renamed the the TotalHIDReports element of the HID descriptor structure in the HID class demos to TotalReportDescriptors, to be more accurate of the element's function (thanks to Brian Dickman).
This commit is contained in:
parent
c7aceb2c7f
commit
1f83abe6f4
16 changed files with 17 additions and 17 deletions
|
@ -142,7 +142,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
|||
|
||||
.HIDSpec = VERSION_BCD(01.11),
|
||||
.CountryCode = 0x00,
|
||||
.TotalHIDReports = 0x01,
|
||||
.TotalHIDDescriptors = 1,
|
||||
.HIDReportType = DTYPE_Report,
|
||||
.HIDReportLength = sizeof(KeyboardReport)
|
||||
},
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
uint16_t HIDSpec; /**< HID specification implemented by the device, in BCD form */
|
||||
uint8_t CountryCode; /**< Country code for the country the HID device is localised for */
|
||||
|
||||
uint8_t TotalHIDReports; /**< Total number of HID reports linked to this HID interface */
|
||||
uint8_t TotalHIDDescriptors; /**< Total number of HID reports linked to this HID interface */
|
||||
|
||||
uint8_t HIDReportType; /**< Type of the first HID report descriptor */
|
||||
uint16_t HIDReportLength; /**< Length of the first HID report descriptor */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue