Skip to content
Snippets Groups Projects
Commit f0fcffd1 authored by Dean Camera's avatar Dean Camera
Browse files

Fix more build errors in the LowLevel "WithParser" HID Host demos.

parent 073a58cd
Branches
Tags
No related merge requests found
...@@ -173,7 +173,7 @@ void Keyboard_HID_Task(void) ...@@ -173,7 +173,7 @@ void Keyboard_HID_Task(void)
{ {
puts_P(PSTR(ESC_FG_RED "Report Parse Error.\r\n")); 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)); puts_P(PSTR("Not a valid Keyboard." ESC_FG_WHITE));
else else
printf_P(PSTR(" -- Error Code: %d\r\n" ESC_FG_WHITE), ErrorCode); printf_P(PSTR(" -- Error Code: %d\r\n" ESC_FG_WHITE), ErrorCode);
......
...@@ -173,7 +173,7 @@ void Mouse_HID_Task(void) ...@@ -173,7 +173,7 @@ void Mouse_HID_Task(void)
{ {
puts_P(PSTR(ESC_FG_RED "Report Parse Error.\r\n")); 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)); puts_P(PSTR("Not a valid Mouse." ESC_FG_WHITE));
else else
printf_P(PSTR(" -- Error Code: %d\r\n" ESC_FG_WHITE), ErrorCode); printf_P(PSTR(" -- Error Code: %d\r\n" ESC_FG_WHITE), ErrorCode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment