aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device')
-rw-r--r--Demos/Device/GenericHID/Descriptors.c2
-rw-r--r--Demos/Device/GenericHID/Descriptors.h2
-rw-r--r--Demos/Device/Joystick/Descriptors.c2
-rw-r--r--Demos/Device/Joystick/Descriptors.h2
-rw-r--r--Demos/Device/Keyboard/Descriptors.c2
-rw-r--r--Demos/Device/Keyboard/Descriptors.h2
-rw-r--r--Demos/Device/KeyboardMouse/Descriptors.c4
-rw-r--r--Demos/Device/KeyboardMouse/Descriptors.h2
-rw-r--r--Demos/Device/Mouse/Descriptors.c2
-rw-r--r--Demos/Device/Mouse/Descriptors.h2
10 files changed, 11 insertions, 11 deletions
diff --git a/Demos/Device/GenericHID/Descriptors.c b/Demos/Device/GenericHID/Descriptors.c
index a14fc505..612450ca 100644
--- a/Demos/Device/GenericHID/Descriptors.c
+++ b/Demos/Device/GenericHID/Descriptors.c
@@ -134,7 +134,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.HIDSpec = VERSION_BCD(01.11),
.CountryCode = 0x00,
- .TotalHIDReports = 0x01,
+ .TotalReportDescriptors = 1,
.HIDReportType = DTYPE_Report,
.HIDReportLength = sizeof(GenericReport)
},
diff --git a/Demos/Device/GenericHID/Descriptors.h b/Demos/Device/GenericHID/Descriptors.h
index 720ddd01..590cea6a 100644
--- a/Demos/Device/GenericHID/Descriptors.h
+++ b/Demos/Device/GenericHID/Descriptors.h
@@ -52,7 +52,7 @@
uint16_t HIDSpec;
uint8_t CountryCode;
- uint8_t TotalHIDReports;
+ uint8_t TotalReportDescriptors;
uint8_t HIDReportType;
uint16_t HIDReportLength;
diff --git a/Demos/Device/Joystick/Descriptors.c b/Demos/Device/Joystick/Descriptors.c
index f1cf8d5c..1bdce1c0 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 3463d962..3d569978 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;
diff --git a/Demos/Device/Keyboard/Descriptors.c b/Demos/Device/Keyboard/Descriptors.c
index 69300eb9..02a5b7c3 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 aa1bf05b..99837972 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;
diff --git a/Demos/Device/KeyboardMouse/Descriptors.c b/Demos/Device/KeyboardMouse/Descriptors.c
index bcb0bf93..2eb2c6e2 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 59495425..5540f4af 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;
diff --git a/Demos/Device/Mouse/Descriptors.c b/Demos/Device/Mouse/Descriptors.c
index e58e9978..1a2b22ab 100644
--- a/Demos/Device/Mouse/Descriptors.c
+++ b/Demos/Device/Mouse/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(MouseReport)
},
diff --git a/Demos/Device/Mouse/Descriptors.h b/Demos/Device/Mouse/Descriptors.h
index 1fcee721..6385145c 100644
--- a/Demos/Device/Mouse/Descriptors.h
+++ b/Demos/Device/Mouse/Descriptors.h
@@ -52,7 +52,7 @@
uint16_t HIDSpec;
uint8_t CountryCode;
- uint8_t TotalHIDReports;
+ uint8_t TotalReportDescriptors;
uint8_t HIDReportType;
uint16_t HIDReportLength;