projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
All comments in the library, bootloaders, demos and projects have now been spell...
[pub/lufa.git]
/
Demos
/
Host
/
StillImageHost
/
StillImageHost.c
diff --git
a/Demos/Host/StillImageHost/StillImageHost.c
b/Demos/Host/StillImageHost/StillImageHost.c
index
50b2054
..
787629c
100644
(file)
--- a/
Demos/Host/StillImageHost/StillImageHost.c
+++ b/
Demos/Host/StillImageHost/StillImageHost.c
@@
-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
"Still Image 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
"Still Image 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 occur
r
ed 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
@@
-165,7
+165,7
@@
TASK(USB_SImage_Host)
wLength: 0,
\r
};
\r
\r
wLength: 0,
\r
};
\r
\r
- /* Send the request, display error and wait for device deta
t
ch 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
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
/* Send the GETDEVICEINFO block */
\r
SImage_SendBlockHeader();
\r
\r
- /* Rec
ie
ve the response data block */
\r
+ /* Rec
ei
ve the response data block */
\r
if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_ERROR_NoError)
\r
{
\r
ShowCommandError(ErrorCode, false);
\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
UnicodeToASCII(DeviceInfoPos, DeviceVersion);
\r
printf_P(PSTR(" Device Version: %s\r\n"), DeviceVersion);
\r
\r
- /* Rec
ie
ve the final response block from the device */
\r
+ /* Rec
ei
ve the final response block from the device */
\r
if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_ERROR_NoError)
\r
{
\r
ShowCommandError(ErrorCode, false);
\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
/* Send the OPENSESSION block, open a session with an ID of 0x0001 */
\r
SImage_SendBlockHeader();
\r
\r
- /* Rec
ie
ve the response block from the device */
\r
+ /* Rec
ei
ve the response block from the device */
\r
if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_ERROR_NoError)
\r
{
\r
ShowCommandError(ErrorCode, false);
\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
/* Send the CLOSESESSION block, close the session with an ID of 0x0001 */
\r
SImage_SendBlockHeader();
\r
\r
- /* Rec
ie
ve the response block from the device */
\r
+ /* Rec
ei
ve the response block from the device */
\r
if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_ERROR_NoError)
\r
{
\r
ShowCommandError(ErrorCode, false);
\r
if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_ERROR_NoError)
\r
{
\r
ShowCommandError(ErrorCode, false);
\r