Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
059ebd01
Commit
059ebd01
authored
Sep 29, 2009
by
Dean Camera
Browse files
Fix missing semicolons in the *WithParser Host mode demos.
parent
51297732
Changes
2
Hide whitespace changes
Inline
Side-by-side
Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c
View file @
059ebd01
...
@@ -85,5 +85,5 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* Current
...
@@ -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
* only store KEYBOARD usage page items into the Processed HID Report structure to
* save RAM and ignore the rest
* save RAM and ignore the rest
*/
*/
return
(
CurrentItemAttributes
->
Usage
.
Page
==
USAGE_PAGE_KEYBOARD
)
return
(
CurrentItemAttributes
->
Usage
.
Page
==
USAGE_PAGE_KEYBOARD
)
;
}
}
Demos/Host/LowLevel/MouseHostWithParser/HIDReport.c
View file @
059ebd01
...
@@ -86,5 +86,5 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* Current
...
@@ -86,5 +86,5 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* Current
* structure to save RAM and ignore the rest
* structure to save RAM and ignore the rest
*/
*/
return
((
CurrentItemAttributes
->
Usage
.
Page
==
USAGE_PAGE_BUTTON
)
||
return
((
CurrentItemAttributes
->
Usage
.
Page
==
USAGE_PAGE_BUTTON
)
||
(
CurrentItemAttributes
->
Usage
.
Page
==
USAGE_PAGE_GENERIC_DCTRL
))
(
CurrentItemAttributes
->
Usage
.
Page
==
USAGE_PAGE_GENERIC_DCTRL
))
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment