diff --git a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c index 520c651621523ac6db967082344ab27929ebd0bd..2b66a7c6565d0090ab4fe050574dac00daa5b0c1 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c +++ b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c @@ -261,5 +261,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/ClassDriver/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c index 00cdb7242d618f2b569aca1341f2dec91e2892e1..15c1e2478694865f2f933310b080c63874078583 100644 --- a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c +++ b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c @@ -261,5 +261,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)); }