diff options
Diffstat (limited to 'Demos')
-rw-r--r-- | Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c | 2 | ||||
-rw-r--r-- | Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c index 0cba5fccd..fddb90d63 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c @@ -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);
diff --git a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c index b47858e31..edfa19878 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c +++ b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c @@ -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);
|