All comments in the library, bootloaders, demos and projects have now been spell...
[pub/lufa.git] / Demos / Host / CDCHost / CDCHost.c
index 1f05ecb..a51f597 100644 (file)
@@ -75,7 +75,7 @@ int main(void)
        /* Initialize USB Subsystem */\r
        USB_Init();\r
 \r
        /* 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
               "CDC Host Demo running.\r\n" ESC_INVERSE_OFF));\r
                   \r
        puts_P(PSTR(ESC_RESET ESC_BG_WHITE ESC_INVERSE_ON ESC_ERASE_DISPLAY\r
               "CDC Host Demo running.\r\n" ESC_INVERSE_OFF));\r
                   \r
@@ -132,7 +132,7 @@ EVENT_HANDLER(USB_HostError)
        for(;;);\r
 }\r
 \r
        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
  *  enumerating an attached USB device.\r
  */\r
 EVENT_HANDLER(USB_DeviceEnumerationFailed)\r
@@ -196,7 +196,7 @@ TASK(USB_CDC_Host)
                                        wLength:       0,\r
                                };\r
 \r
                                        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 ((ErrorCode = USB_Host_SendControlRequest(NULL)) != HOST_SENDCONTROL_Successful)\r
                        {\r
                                puts_P(PSTR("Control Error (Set Configuration).\r\n"));\r
                        if ((ErrorCode = USB_Host_SendControlRequest(NULL)) != HOST_SENDCONTROL_Successful)\r
                        {\r
                                puts_P(PSTR("Control Error (Set Configuration).\r\n"));\r
@@ -248,7 +248,7 @@ TASK(USB_CDC_Host)
                                uint16_t BufferLength = Pipe_BytesInPipe();\r
                                uint8_t Buffer[BufferLength];\r
                                \r
                                uint16_t BufferLength = Pipe_BytesInPipe();\r
                                uint8_t Buffer[BufferLength];\r
                                \r
-                               /* Read in the pipe data to the tempoary buffer */\r
+                               /* Read in the pipe data to the temporary buffer */\r
                                Pipe_Read_Stream_LE(Buffer, BufferLength);\r
                                \r
                                /* Clear the pipe after it is read, ready for the next packet */\r
                                Pipe_Read_Stream_LE(Buffer, BufferLength);\r
                                \r
                                /* Clear the pipe after it is read, ready for the next packet */\r