From 1f83abe6f42c302cf3af7e16e5bb02d886a2c82a Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 7 May 2009 22:33:36 +0000 Subject: 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). --- Demos/Device/KeyboardMouse/Descriptors.c | 4 ++-- Demos/Device/KeyboardMouse/Descriptors.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Demos/Device/KeyboardMouse') diff --git a/Demos/Device/KeyboardMouse/Descriptors.c b/Demos/Device/KeyboardMouse/Descriptors.c index bcb0bf93b..2eb2c6e2e 100644 --- a/Demos/Device/KeyboardMouse/Descriptors.c +++ b/Demos/Device/KeyboardMouse/Descriptors.c @@ -184,7 +184,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .HIDSpec = VERSION_BCD(01.11), .CountryCode = 0x00, - .TotalHIDReports = 0x01, + .TotalReportDescriptors = 1, .HIDReportType = DTYPE_Report, .HIDReportLength = sizeof(KeyboardReport) }, @@ -231,7 +231,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .HIDSpec = VERSION_BCD(01.11), .CountryCode = 0x00, - .TotalHIDReports = 0x01, + .TotalReportDescriptors = 1, .HIDReportType = DTYPE_Report, .HIDReportLength = sizeof(MouseReport) }, diff --git a/Demos/Device/KeyboardMouse/Descriptors.h b/Demos/Device/KeyboardMouse/Descriptors.h index 59495425c..5540f4af8 100644 --- a/Demos/Device/KeyboardMouse/Descriptors.h +++ b/Demos/Device/KeyboardMouse/Descriptors.h @@ -53,7 +53,7 @@ uint16_t HIDSpec; uint8_t CountryCode; - uint8_t TotalHIDReports; + uint8_t TotalReportDescriptors; uint8_t HIDReportType; uint16_t HIDReportLength; -- cgit v1.2.3