aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/MouseHostWithParser/MouseHostWithParser.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/MouseHostWithParser/MouseHostWithParser.c')
-rw-r--r--Demos/Host/MouseHostWithParser/MouseHostWithParser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Host/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/MouseHostWithParser/MouseHostWithParser.c
index 5ccda4912..79cecdf5b 100644
--- a/Demos/Host/MouseHostWithParser/MouseHostWithParser.c
+++ b/Demos/Host/MouseHostWithParser/MouseHostWithParser.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
"Mouse 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)
@@ -200,7 +200,7 @@ TASK(USB_Mouse_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"));
@@ -256,7 +256,7 @@ TASK(USB_Mouse_Host)
break;
}
- /* All LEDs off - ready to indicate keypresses */
+ /* All LEDs off - ready to indicate key presses */
UpdateStatus(Status_USBReady);
puts_P(PSTR("Mouse Enumerated.\r\n"));
@@ -285,7 +285,7 @@ TASK(USB_Mouse_Host)
/* Check each HID report item in turn, looking for mouse X/Y/button 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];
bool FoundData;