aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/KeyboardHostWithParser
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-01 13:53:58 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-01 13:53:58 +0000
commit6933f2e1a543b066ebe734bd126a7ff2f1c2777f (patch)
treea8fd03c986accab9fa79e43d835e047fb5b0e254 /Demos/Host/KeyboardHostWithParser
parentfb3fcb968ea70f8b5c6d8f7edde65745e49628f2 (diff)
downloadlufa-6933f2e1a543b066ebe734bd126a7ff2f1c2777f.tar.gz
lufa-6933f2e1a543b066ebe734bd126a7ff2f1c2777f.tar.bz2
lufa-6933f2e1a543b066ebe734bd126a7ff2f1c2777f.zip
All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected.
Diffstat (limited to 'Demos/Host/KeyboardHostWithParser')
-rw-r--r--Demos/Host/KeyboardHostWithParser/HIDReport.h2
-rw-r--r--Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/Demos/Host/KeyboardHostWithParser/HIDReport.h b/Demos/Host/KeyboardHostWithParser/HIDReport.h
index 5e18313f6..7c59138c2 100644
--- a/Demos/Host/KeyboardHostWithParser/HIDReport.h
+++ b/Demos/Host/KeyboardHostWithParser/HIDReport.h
@@ -51,7 +51,7 @@
{
ParseSuccessful = 0, /**< HID report descriptor parsed successfully */
ParseError = 1, /**< Failed to fully process the HID report descriptor */
- ParseControlError = 2, /**< Control error occured while trying to read the device HID descriptor */
+ ParseControlError = 2, /**< Control error occurred while trying to read the device HID descriptor */
};
/* Type Defines: */
diff --git a/Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.c b/Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.c
index f7a0087e7..eefd2fa56 100644
--- a/Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.c
+++ b/Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.c
@@ -75,7 +75,7 @@ int main(void)
/* Initialize USB Subsystem */
USB_Init();
- /* Startup message */
+ /* Start-up message */
puts_P(PSTR(ESC_RESET ESC_BG_WHITE ESC_INVERSE_ON ESC_ERASE_DISPLAY
"Keyboard Host Demo running.\r\n" ESC_INVERSE_OFF));
@@ -132,7 +132,7 @@ EVENT_HANDLER(USB_HostError)
for(;;);
}
-/** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occured while
+/** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occurred while
* enumerating an attached USB device.
*/
EVENT_HANDLER(USB_DeviceEnumerationFailed)
@@ -199,7 +199,7 @@ TASK(USB_Keyboard_Host)
wLength: 0,
};
- /* Send the request, display error and wait for device detatch if request fails */
+ /* Send the request, display error and wait for device detach if request fails */
if ((ErrorCode = USB_Host_SendControlRequest(NULL)) != HOST_SENDCONTROL_Successful)
{
puts_P(PSTR("Control Error (Set Configuration).\r\n"));
@@ -255,7 +255,7 @@ TASK(USB_Keyboard_Host)
break;
}
- /* All LEDs off - ready to indicate keypresses */
+ /* All LEDs off - ready to indicate key presses */
UpdateStatus(Status_USBReady);
puts_P(PSTR("Keyboard Enumerated.\r\n"));
@@ -282,7 +282,7 @@ TASK(USB_Keyboard_Host)
/* Check each HID report item in turn, looking for keyboard scan code reports */
for (uint8_t ReportNumber = 0; ReportNumber < HIDReportInfo.TotalReportItems; ReportNumber++)
{
- /* Create a tempoary item pointer to the next report item */
+ /* Create a temporary item pointer to the next report item */
HID_ReportItem_t* ReportItem = &HIDReportInfo.ReportItems[ReportNumber];
/* Check if the current report item is a keyboard scancode */