diff options
Diffstat (limited to 'Demos/Device/GenericHID')
-rw-r--r-- | Demos/Device/GenericHID/Descriptors.c | 2 | ||||
-rw-r--r-- | Demos/Device/GenericHID/Descriptors.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/GenericHID/Descriptors.c b/Demos/Device/GenericHID/Descriptors.c index a14fc5050..612450ca3 100644 --- a/Demos/Device/GenericHID/Descriptors.c +++ b/Demos/Device/GenericHID/Descriptors.c @@ -134,7 +134,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .HIDSpec = VERSION_BCD(01.11),
.CountryCode = 0x00,
- .TotalHIDReports = 0x01,
+ .TotalReportDescriptors = 1,
.HIDReportType = DTYPE_Report,
.HIDReportLength = sizeof(GenericReport)
},
diff --git a/Demos/Device/GenericHID/Descriptors.h b/Demos/Device/GenericHID/Descriptors.h index 720ddd011..590cea6af 100644 --- a/Demos/Device/GenericHID/Descriptors.h +++ b/Demos/Device/GenericHID/Descriptors.h @@ -52,7 +52,7 @@ uint16_t HIDSpec;
uint8_t CountryCode;
- uint8_t TotalHIDReports;
+ uint8_t TotalReportDescriptors;
uint8_t HIDReportType;
uint16_t HIDReportLength;
|