aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/Keyboard
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-05-07 22:33:36 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-05-07 22:33:36 +0000
commit1f83abe6f42c302cf3af7e16e5bb02d886a2c82a (patch)
tree0d649b5dd7d86880dfc82dd1c1199e66e6933e46 /Demos/Device/Keyboard
parentc7aceb2c7f625b8256dfe4f80177beb63911979a (diff)
downloadlufa-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 'Demos/Device/Keyboard')
-rw-r--r--Demos/Device/Keyboard/Descriptors.c2
-rw-r--r--Demos/Device/Keyboard/Descriptors.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/Keyboard/Descriptors.c b/Demos/Device/Keyboard/Descriptors.c
index 69300eb9b..02a5b7c38 100644
--- a/Demos/Device/Keyboard/Descriptors.c
+++ b/Demos/Device/Keyboard/Descriptors.c
@@ -151,7 +151,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.HIDSpec = VERSION_BCD(01.11),
.CountryCode = 0x00,
- .TotalHIDReports = 0x01,
+ .TotalReportDescriptors = 1,
.HIDReportType = DTYPE_Report,
.HIDReportLength = sizeof(KeyboardReport)
},
diff --git a/Demos/Device/Keyboard/Descriptors.h b/Demos/Device/Keyboard/Descriptors.h
index aa1bf05b6..998379725 100644
--- a/Demos/Device/Keyboard/Descriptors.h
+++ b/Demos/Device/Keyboard/Descriptors.h
@@ -53,7 +53,7 @@
uint16_t HIDSpec;
uint8_t CountryCode;
- uint8_t TotalHIDReports;
+ uint8_t TotalReportDescriptors;
uint8_t HIDReportType;
uint16_t HIDReportLength;