diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-07 22:33:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-07 22:33:36 +0000 |
commit | 1f83abe6f42c302cf3af7e16e5bb02d886a2c82a (patch) | |
tree | 0d649b5dd7d86880dfc82dd1c1199e66e6933e46 /Projects/Magstripe | |
parent | c7aceb2c7f625b8256dfe4f80177beb63911979a (diff) | |
download | lufa-1f83abe6f42c302cf3af7e16e5bb02d886a2c82a.tar.gz lufa-1f83abe6f42c302cf3af7e16e5bb02d886a2c82a.tar.bz2 lufa-1f83abe6f42c302cf3af7e16e5bb02d886a2c82a.zip |
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).
Diffstat (limited to 'Projects/Magstripe')
-rw-r--r-- | Projects/Magstripe/Descriptors.c | 2 | ||||
-rw-r--r-- | Projects/Magstripe/Descriptors.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Projects/Magstripe/Descriptors.c b/Projects/Magstripe/Descriptors.c index 139789352..dd6b3fb63 100644 --- a/Projects/Magstripe/Descriptors.c +++ b/Projects/Magstripe/Descriptors.c @@ -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)
},
diff --git a/Projects/Magstripe/Descriptors.h b/Projects/Magstripe/Descriptors.h index 2f5854523..16299bbfd 100644 --- a/Projects/Magstripe/Descriptors.h +++ b/Projects/Magstripe/Descriptors.h @@ -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 */
|