/* 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
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 (USB_Host_SendControlRequest(NULL) != HOST_SENDCONTROL_Successful)\r
{\r
puts_P(PSTR("Control error.\r\n"));\r
/* 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
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
/* 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
/* 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