Fix more build errors in the LowLevel "WithParser" HID Host demos.
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 22 Sep 2009 10:05:17 +0000 (10:05 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 22 Sep 2009 10:05:17 +0000 (10:05 +0000)
Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c
Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c

index 0cba5fc..fddb90d 100644 (file)
@@ -173,7 +173,7 @@ void Keyboard_HID_Task(void)
                        {\r
                                puts_P(PSTR(ESC_FG_RED "Report Parse Error.\r\n"));\r
 \r
-                               if (!(HIDReportInfo->TotalReportItems))\r
+                               if (!(HIDReportInfo.TotalReportItems))\r
                                        puts_P(PSTR("Not a valid Keyboard." ESC_FG_WHITE));\r
                                else\r
                                        printf_P(PSTR(" -- Error Code: %d\r\n" ESC_FG_WHITE), ErrorCode);\r
index b47858e..edfa198 100644 (file)
@@ -173,7 +173,7 @@ void Mouse_HID_Task(void)
                        {\r
                                puts_P(PSTR(ESC_FG_RED "Report Parse Error.\r\n"));\r
 \r
-                               if (!(HIDReportInfo->TotalReportItems))\r
+                               if (!(HIDReportInfo.TotalReportItems))\r
                                        puts_P(PSTR("Not a valid Mouse." ESC_FG_WHITE));\r
                                else\r
                                        printf_P(PSTR(" -- Error Code: %d\r\n" ESC_FG_WHITE), ErrorCode);\r