All comments in the library, bootloaders, demos and projects have now been spell...
[pub/USBasp.git] / Demos / Host / MassStorageHost / MassStorageHost.c
index d042b78..a7b550c 100644 (file)
@@ -74,7 +74,7 @@ int main(void)
        /* Indicate USB not ready */\r
        UpdateStatus(Status_USBNotReady);\r
 \r
-       /* Startup message */\r
+       /* Start-up message */\r
        puts_P(PSTR(ESC_RESET ESC_BG_WHITE ESC_INVERSE_ON ESC_ERASE_DISPLAY\r
               "MassStore Host Demo running.\r\n" ESC_INVERSE_OFF));\r
                   \r
@@ -137,7 +137,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
@@ -170,7 +170,7 @@ TASK(USB_MassStore_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 ((ErrorCode = USB_Host_SendControlRequest(NULL)) != HOST_SENDCONTROL_Successful)\r
                        {\r
                                puts_P(PSTR("Control Error (Set Configuration).\r\n"));\r
@@ -222,7 +222,7 @@ TASK(USB_MassStore_Host)
                                break;\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 = MassStore_GetMaxLUN(&MassStore_MaxLUNIndex)) != HOST_SENDCONTROL_Successful)\r
                        {       \r
                                ShowDiskReadError(PSTR("Get Max LUN"), ErrorCode);\r
@@ -240,7 +240,7 @@ TASK(USB_MassStore_Host)
                        }\r
                        \r
                        /* Get sense data from the device - many devices will not accept any other commands until the sense data\r
-                        * is read - both on startup and after a failed command */\r
+                        * is read - both on start-up and after a failed command */\r
                        SCSI_Request_Sense_Response_t SenseData;\r
                        if ((ErrorCode = MassStore_RequestSense(0, &SenseData)) != 0)\r
                        {\r
@@ -397,7 +397,7 @@ void UpdateStatus(uint8_t CurrentStatus)
        LEDs_SetAllLEDs(LEDMask);\r
 }\r
 \r
-/** Indicates that a communication error has ocurred with the attached Mass Storage Device,\r
+/** Indicates that a communication error has occurred with the attached Mass Storage Device,\r
  *  printing error codes to the serial port and waiting until the device is removed before\r
  *  continuing.\r
  *\r