diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c b/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c index 78ed985a0c8ff06c27075ceead2827c54b9c4eb9..523765b11e44658dcc054a5dd59bc769f88853fc 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 1abf3ce3a7a0a97b4fcbaa792a2633cafe376e64..4d13ce519ce913da53ff476e5bab0d143af400a2 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)); }