diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-29 16:20:45 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-29 16:20:45 +0000 |
commit | 28401f7bb749350a66ebe95649d01a25c01842f7 (patch) | |
tree | eff8174e307ea39ee7c1351fde7c23f0f33faf6c /Demos/Host/ClassDriver/KeyboardHostWithParser | |
parent | ca007f91f2aa959a738649d35becb54cb1efc8b8 (diff) | |
download | lufa-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/ClassDriver/KeyboardHostWithParser')
-rw-r--r-- | Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c | 6 | ||||
-rw-r--r-- | Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.txt | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c index 9d28e7136..9135e53eb 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c +++ b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c @@ -143,7 +143,7 @@ int main(void) /* 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 */ @@ -151,7 +151,7 @@ int main(void) 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)) @@ -166,7 +166,7 @@ int main(void) 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/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.txt b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.txt index c1b180137..38f48aed0 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.txt +++ b/Demos/Host/ClassDriver/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 + */ |