/* 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
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
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
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
}\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
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