All comments in the library, bootloaders, demos and projects have now been spell...
[pub/USBasp.git] / Demos / Host / StillImageHost / StillImageHost.c
index 50b2054..787629c 100644 (file)
@@ -75,7 +75,7 @@ int main(void)
        /* Initialize USB Subsystem */\r
        USB_Init();\r
 \r
-       /* Startup message */\r
+       /* Start-up message */\r
        puts_P(PSTR(ESC_RESET ESC_BG_WHITE ESC_INVERSE_ON ESC_ERASE_DISPLAY\r
               "Still Image Host Demo running.\r\n" ESC_INVERSE_OFF));\r
                   \r
@@ -132,7 +132,7 @@ EVENT_HANDLER(USB_HostError)
        for(;;);\r
 }\r
 \r
-/** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occured while\r
+/** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occurred while\r
  *  enumerating an attached USB device.\r
  */\r
 EVENT_HANDLER(USB_DeviceEnumerationFailed)\r
@@ -165,7 +165,7 @@ TASK(USB_SImage_Host)
                                        wLength:       0,\r
                                };\r
 \r
-                       /* Send the request, display error and wait for device detatch if request fails */\r
+                       /* Send the request, display error and wait for device detach if request fails */\r
                        if (USB_Host_SendControlRequest(NULL) != HOST_SENDCONTROL_Successful)\r
                        {\r
                                puts_P(PSTR("Control error.\r\n"));\r
@@ -223,7 +223,7 @@ TASK(USB_SImage_Host)
                        /* Send the GETDEVICEINFO block */\r
                        SImage_SendBlockHeader();\r
                        \r
-                       /* Recieve the response data block */\r
+                       /* Receive the response data block */\r
                        if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_ERROR_NoError)\r
                        {\r
                                ShowCommandError(ErrorCode, false);\r
@@ -274,7 +274,7 @@ TASK(USB_SImage_Host)
                        UnicodeToASCII(DeviceInfoPos, DeviceVersion);\r
                        printf_P(PSTR("   Device Version: %s\r\n"), DeviceVersion);\r
 \r
-                       /* Recieve the final response block from the device */\r
+                       /* Receive the final response block from the device */\r
                        if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_ERROR_NoError)\r
                        {\r
                                ShowCommandError(ErrorCode, false);\r
@@ -302,7 +302,7 @@ TASK(USB_SImage_Host)
                        /* Send the OPENSESSION block, open a session with an ID of 0x0001 */\r
                        SImage_SendBlockHeader();\r
                        \r
-                       /* Recieve the response block from the device */\r
+                       /* Receive the response block from the device */\r
                        if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_ERROR_NoError)\r
                        {\r
                                ShowCommandError(ErrorCode, false);\r
@@ -330,7 +330,7 @@ TASK(USB_SImage_Host)
                        /* Send the CLOSESESSION block, close the session with an ID of 0x0001 */\r
                        SImage_SendBlockHeader();\r
                        \r
-                       /* Recieve the response block from the device */\r
+                       /* Receive the response block from the device */\r
                        if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_ERROR_NoError)\r
                        {\r
                                ShowCommandError(ErrorCode, false);\r