X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/849b9535e7f4ca84aa909cfb9e985ae29f14be72..f7ab433c67b86723385ec05ee9c7b96dd18e6dde:/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c?ds=inline diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c index 0cba5fccd..8f57390f9 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c @@ -37,7 +37,7 @@ #include "KeyboardHostWithParser.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 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);