aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-29 16:20:45 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-29 16:20:45 +0000
commit28401f7bb749350a66ebe95649d01a25c01842f7 (patch)
treeeff8174e307ea39ee7c1351fde7c23f0f33faf6c /Demos/Host/LowLevel
parentca007f91f2aa959a738649d35becb54cb1efc8b8 (diff)
downloadlufa-28401f7bb749350a66ebe95649d01a25c01842f7.tar.gz
lufa-28401f7bb749350a66ebe95649d01a25c01842f7.tar.bz2
lufa-28401f7bb749350a66ebe95649d01a25c01842f7.zip
Spell check all source files once again to find any typos.
Diffstat (limited to 'Demos/Host/LowLevel')
-rw-r--r--Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.txt2
-rw-r--r--Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.txt4
-rw-r--r--Demos/Host/LowLevel/KeyboardHost/KeyboardHost.txt2
-rw-r--r--Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c10
-rw-r--r--Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.txt4
-rw-r--r--Demos/Host/LowLevel/MIDIHost/MIDIHost.txt2
-rw-r--r--Demos/Host/LowLevel/MassStorageHost/MassStorageHost.txt4
-rw-r--r--Demos/Host/LowLevel/MouseHost/MouseHost.txt2
-rw-r--r--Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.txt4
-rw-r--r--Demos/Host/LowLevel/PrinterHost/PrinterHost.txt4
-rw-r--r--Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c8
-rw-r--r--Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.h4
-rw-r--r--Demos/Host/LowLevel/RNDISEthernetHost/RNDISHost.txt4
-rw-r--r--Demos/Host/LowLevel/StillImageHost/StillImageHost.txt4
-rw-r--r--Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.txt2
15 files changed, 30 insertions, 30 deletions
diff --git a/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.txt b/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.txt
index fef45c377..0b07e254c 100644
--- a/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.txt
+++ b/Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.txt
@@ -51,7 +51,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
diff --git a/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.txt b/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.txt
index 5d002e4cc..967c6b428 100644
--- a/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.txt
+++ b/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.txt
@@ -58,7 +58,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
@@ -67,4 +67,4 @@
* </td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/LowLevel/KeyboardHost/KeyboardHost.txt b/Demos/Host/LowLevel/KeyboardHost/KeyboardHost.txt
index 68ad1f260..65aa9d042 100644
--- a/Demos/Host/LowLevel/KeyboardHost/KeyboardHost.txt
+++ b/Demos/Host/LowLevel/KeyboardHost/KeyboardHost.txt
@@ -60,7 +60,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c
index 666879c98..dfb1a4a08 100644
--- a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c
+++ b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c
@@ -254,13 +254,13 @@ void ProcessKeyboardReport(uint8_t* KeyboardReport)
/* Create a temporary item pointer to the next report item */
HID_ReportItem_t* ReportItem = &HIDReportInfo.ReportItems[ReportNumber];
- /* Check if the current report item is a keyboard scancode */
+ /* Check if the current report item is a keyboard scan-code */
if ((ReportItem->Attributes.Usage.Page == USAGE_PAGE_KEYBOARD) &&
(ReportItem->Attributes.BitSize == 8) &&
(ReportItem->Attributes.Logical.Maximum > 1) &&
(ReportItem->ItemType == REPORT_ITEM_TYPE_In))
{
- /* Retrieve the keyboard scancode from the report data retrieved from the device */
+ /* Retrieve the keyboard scan-code from the report data retrieved from the device */
bool FoundData = USB_GetHIDReportItemInfo(KeyboardReport, ReportItem);
/* For multi-report devices - if the requested data was not in the issued report, continue */
@@ -270,7 +270,7 @@ void ProcessKeyboardReport(uint8_t* KeyboardReport)
/* Key code is an unsigned char in length, cast to the appropriate type */
uint8_t KeyCode = (uint8_t)ReportItem->Value;
- /* If scancode is non-zero, a key is being pressed */
+ /* If scan-code is non-zero, a key is being pressed */
if (KeyCode)
{
/* Toggle status LED to indicate keypress */
@@ -278,7 +278,7 @@ void ProcessKeyboardReport(uint8_t* KeyboardReport)
char PressedKey = 0;
- /* Convert scancode to printable character if alphanumeric */
+ /* Convert scan-code to printable character if alphanumeric */
if ((KeyCode >= 0x04) && (KeyCode <= 0x1D))
PressedKey = (KeyCode - 0x04) + 'A';
else if ((KeyCode >= 0x1E) && (KeyCode <= 0x27))
@@ -293,7 +293,7 @@ void ProcessKeyboardReport(uint8_t* KeyboardReport)
putchar(PressedKey);
}
- /* Once a scancode is found, stop scanning through the report items */
+ /* Once a scan-code is found, stop scanning through the report items */
break;
}
}
diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.txt b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.txt
index c1b180137..38f48aed0 100644
--- a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.txt
+++ b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.txt
@@ -58,7 +58,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
@@ -67,4 +67,4 @@
* </td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/LowLevel/MIDIHost/MIDIHost.txt b/Demos/Host/LowLevel/MIDIHost/MIDIHost.txt
index 269bf5b5b..50c147ba4 100644
--- a/Demos/Host/LowLevel/MIDIHost/MIDIHost.txt
+++ b/Demos/Host/LowLevel/MIDIHost/MIDIHost.txt
@@ -47,7 +47,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
diff --git a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.txt b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.txt
index 74578b6e2..168205811 100644
--- a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.txt
+++ b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.txt
@@ -55,7 +55,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
@@ -64,4 +64,4 @@
* </td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/LowLevel/MouseHost/MouseHost.txt b/Demos/Host/LowLevel/MouseHost/MouseHost.txt
index 6926e99b3..4c0674b26 100644
--- a/Demos/Host/LowLevel/MouseHost/MouseHost.txt
+++ b/Demos/Host/LowLevel/MouseHost/MouseHost.txt
@@ -61,7 +61,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
diff --git a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.txt b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.txt
index c2d04a05a..8e7fc9cdc 100644
--- a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.txt
+++ b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.txt
@@ -58,7 +58,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
@@ -67,4 +67,4 @@
* </td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/LowLevel/PrinterHost/PrinterHost.txt b/Demos/Host/LowLevel/PrinterHost/PrinterHost.txt
index 04a3e0739..bdb4a6e0a 100644
--- a/Demos/Host/LowLevel/PrinterHost/PrinterHost.txt
+++ b/Demos/Host/LowLevel/PrinterHost/PrinterHost.txt
@@ -50,7 +50,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
@@ -59,4 +59,4 @@
* </td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c b/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c
index cd142ef55..edf56180e 100644
--- a/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c
+++ b/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c
@@ -184,7 +184,7 @@ uint8_t RNDIS_SetRNDISProperty(const uint32_t Oid,
struct
{
RNDIS_Set_Message_t SetMessage;
- uint8_t ContigiousBuffer[Length];
+ uint8_t ContiguousBuffer[Length];
} SetMessageData;
RNDIS_Set_Complete_t SetMessageResponse;
@@ -198,7 +198,7 @@ uint8_t RNDIS_SetRNDISProperty(const uint32_t Oid,
SetMessageData.SetMessage.InformationBufferOffset = (sizeof(RNDIS_Set_Message_t) - sizeof(RNDIS_Message_Header_t));
SetMessageData.SetMessage.DeviceVcHandle = 0;
- memcpy(&SetMessageData.ContigiousBuffer, Buffer, Length);
+ memcpy(&SetMessageData.ContiguousBuffer, Buffer, Length);
if ((ErrorCode = RNDIS_SendEncapsulatedCommand(&SetMessageData,
SetMessageData.SetMessage.MessageLength)) != HOST_SENDCONTROL_Successful)
@@ -238,7 +238,7 @@ uint8_t RNDIS_QueryRNDISProperty(const uint32_t Oid,
struct
{
RNDIS_Query_Complete_t QueryMessageResponse;
- uint8_t ContigiousBuffer[MaxLength];
+ uint8_t ContiguousBuffer[MaxLength];
} QueryMessageResponseData;
QueryMessage.MessageType = REMOTE_NDIS_QUERY_MSG;
@@ -265,7 +265,7 @@ uint8_t RNDIS_QueryRNDISProperty(const uint32_t Oid,
if (QueryMessageResponseData.QueryMessageResponse.Status != REMOTE_NDIS_STATUS_SUCCESS)
return RNDIS_COMMAND_FAILED;
- memcpy(Buffer, &QueryMessageResponseData.ContigiousBuffer, MaxLength);
+ memcpy(Buffer, &QueryMessageResponseData.ContiguousBuffer, MaxLength);
return HOST_SENDCONTROL_Successful;
}
diff --git a/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.h b/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.h
index 960d53823..0c4af3aed 100644
--- a/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.h
+++ b/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.h
@@ -100,7 +100,7 @@
uint32_t AFListSize;
} RNDIS_Initialize_Complete_t;
- /** Type define for a RNDIS Keepalive command message. */
+ /** Type define for a RNDIS Keep-alive command message. */
typedef struct
{
uint32_t MessageType;
@@ -108,7 +108,7 @@
uint32_t RequestId;
} RNDIS_KeepAlive_Message_t;
- /** Type define for a RNDIS Keepalive complete message. */
+ /** Type define for a RNDIS Keep-alive complete message. */
typedef struct
{
uint32_t MessageType;
diff --git a/Demos/Host/LowLevel/RNDISEthernetHost/RNDISHost.txt b/Demos/Host/LowLevel/RNDISEthernetHost/RNDISHost.txt
index cc3bbcab5..829464f91 100644
--- a/Demos/Host/LowLevel/RNDISEthernetHost/RNDISHost.txt
+++ b/Demos/Host/LowLevel/RNDISEthernetHost/RNDISHost.txt
@@ -50,7 +50,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
@@ -59,4 +59,4 @@
* </td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/LowLevel/StillImageHost/StillImageHost.txt b/Demos/Host/LowLevel/StillImageHost/StillImageHost.txt
index 6c27b8511..b44543c66 100644
--- a/Demos/Host/LowLevel/StillImageHost/StillImageHost.txt
+++ b/Demos/Host/LowLevel/StillImageHost/StillImageHost.txt
@@ -52,7 +52,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>
@@ -61,4 +61,4 @@
* </td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.txt b/Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.txt
index 3a7742248..7c4617f0e 100644
--- a/Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.txt
+++ b/Demos/Host/LowLevel/VirtualSerialHost/VirtualSerialHost.txt
@@ -53,7 +53,7 @@
*
* \section SSec_Options Project Options
*
- * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ * The following defines can be found in this demo, which can control the demo behavior when defined, or changed in value.
*
* <table>
* <tr>