diff options
-rw-r--r-- | Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c | 2 | ||||
-rw-r--r-- | Demos/Host/LowLevel/MouseHostWithParser/HIDReport.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c b/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c index 78ed985a0c..523765b11e 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c @@ -85,5 +85,5 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* Current * only store KEYBOARD usage page items into the Processed HID Report structure to
* save RAM and ignore the rest
*/
- return (CurrentItemAttributes->Usage.Page == USAGE_PAGE_KEYBOARD)
+ return (CurrentItemAttributes->Usage.Page == USAGE_PAGE_KEYBOARD);
}
diff --git a/Demos/Host/LowLevel/MouseHostWithParser/HIDReport.c b/Demos/Host/LowLevel/MouseHostWithParser/HIDReport.c index 1abf3ce3a7..4d13ce519c 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/HIDReport.c +++ b/Demos/Host/LowLevel/MouseHostWithParser/HIDReport.c @@ -86,5 +86,5 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* Current * structure to save RAM and ignore the rest
*/
return ((CurrentItemAttributes->Usage.Page == USAGE_PAGE_BUTTON) ||
- (CurrentItemAttributes->Usage.Page == USAGE_PAGE_GENERIC_DCTRL))
+ (CurrentItemAttributes->Usage.Page == USAGE_PAGE_GENERIC_DCTRL));
}
|