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
f0fcffd1
Commit
f0fcffd1
authored
Sep 22, 2009
by
Dean Camera
Browse files
Fix more build errors in the LowLevel "WithParser" HID Host demos.
parent
073a58cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c
View file @
f0fcffd1
...
...
@@ -173,7 +173,7 @@ void Keyboard_HID_Task(void)
{
puts_P
(
PSTR
(
ESC_FG_RED
"Report Parse Error.
\r\n
"
));
if
(
!
(
HIDReportInfo
->
TotalReportItems
))
if
(
!
(
HIDReportInfo
.
TotalReportItems
))
puts_P
(
PSTR
(
"Not a valid Keyboard."
ESC_FG_WHITE
));
else
printf_P
(
PSTR
(
" -- Error Code: %d
\r\n
"
ESC_FG_WHITE
),
ErrorCode
);
...
...
Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c
View file @
f0fcffd1
...
...
@@ -173,7 +173,7 @@ void Mouse_HID_Task(void)
{
puts_P
(
PSTR
(
ESC_FG_RED
"Report Parse Error.
\r\n
"
));
if
(
!
(
HIDReportInfo
->
TotalReportItems
))
if
(
!
(
HIDReportInfo
.
TotalReportItems
))
puts_P
(
PSTR
(
"Not a valid Mouse."
ESC_FG_WHITE
));
else
printf_P
(
PSTR
(
" -- Error Code: %d
\r\n
"
ESC_FG_WHITE
),
ErrorCode
);
...
...
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