diff options
Diffstat (limited to 'Demos/Device/Joystick')
-rw-r--r-- | Demos/Device/Joystick/Descriptors.c | 2 | ||||
-rw-r--r-- | Demos/Device/Joystick/Descriptors.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/Joystick/Descriptors.c b/Demos/Device/Joystick/Descriptors.c index f1cf8d5c6..1bdce1c0d 100644 --- a/Demos/Device/Joystick/Descriptors.c +++ b/Demos/Device/Joystick/Descriptors.c @@ -144,7 +144,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .HIDSpec = VERSION_BCD(01.11),
.CountryCode = 0x00,
- .TotalHIDReports = 0x01,
+ .TotalReportDescriptors = 1,
.HIDReportType = DTYPE_Report,
.HIDReportLength = sizeof(JoystickReport)
},
diff --git a/Demos/Device/Joystick/Descriptors.h b/Demos/Device/Joystick/Descriptors.h index 3463d9623..3d569978c 100644 --- a/Demos/Device/Joystick/Descriptors.h +++ b/Demos/Device/Joystick/Descriptors.h @@ -52,7 +52,7 @@ uint16_t HIDSpec;
uint8_t CountryCode;
- uint8_t TotalHIDReports;
+ uint8_t TotalReportDescriptors;
uint8_t HIDReportType;
uint16_t HIDReportLength;
|