X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/849b9535e7f4ca84aa909cfb9e985ae29f14be72..cf610c5c91c3eee02dec7ca848acc8da831ad98a:/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c diff --git a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c index b47858e31..736ab522a 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c +++ b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c @@ -37,7 +37,7 @@ #include "MouseHostWithParser.h" /** Main program entry point. This routine configures the hardware required by the application, then - * starts the scheduler to run the application tasks. + * enters a loop to run the application tasks in sequence. */ int main(void) { @@ -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);