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

This commit is contained in:
Dean Camera 2009-09-22 10:05:17 +00:00
parent 073a58cd29
commit f0fcffd146
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);