diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-05-07 22:33:36 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-05-07 22:33:36 +0000 |
| commit | 46038bac9ddfbab3c52dc6d5dd22bbf8bb1c902a (patch) | |
| tree | 0d649b5dd7d86880dfc82dd1c1199e66e6933e46 /Bootloaders | |
| parent | 31d5ad5d6f72079fec0e601af252550c7f11bf64 (diff) | |
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).
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@541 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Bootloaders')
| -rw-r--r-- | Bootloaders/TeensyHID/Descriptors.c | 2 | ||||
| -rw-r--r-- | Bootloaders/TeensyHID/Descriptors.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/TeensyHID/Descriptors.c b/Bootloaders/TeensyHID/Descriptors.c index fc7f51c6..b1642f16 100644 --- a/Bootloaders/TeensyHID/Descriptors.c +++ b/Bootloaders/TeensyHID/Descriptors.c @@ -128,7 +128,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor = .HIDSpec = VERSION_BCD(01.11),
.CountryCode = 0x00,
- .TotalHIDReports = 0x01,
+ .TotalHIDDescriptors = 1,
.HIDReportType = DTYPE_Report,
.HIDReportLength = sizeof(HIDReport)
},
diff --git a/Bootloaders/TeensyHID/Descriptors.h b/Bootloaders/TeensyHID/Descriptors.h index 24a0cdaa..2b84734c 100644 --- a/Bootloaders/TeensyHID/Descriptors.h +++ b/Bootloaders/TeensyHID/Descriptors.h @@ -50,7 +50,7 @@ uint16_t HIDSpec;
uint8_t CountryCode;
- uint8_t TotalHIDReports;
+ uint8_t TotalHIDDescriptors;
uint8_t HIDReportType;
uint16_t HIDReportLength;
|
