aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-06-09 20:33:56 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-06-09 20:33:56 +0000
commit3808f5c36d0ee183e9825e645cc984f1c6047ef5 (patch)
treea7830d3c19aeb6a2461d701245458217e8829767 /Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c
parent544027da185fbfb51461460c607f956ccee9e54b (diff)
downloadlufa-3808f5c36d0ee183e9825e645cc984f1c6047ef5.tar.gz
lufa-3808f5c36d0ee183e9825e645cc984f1c6047ef5.tar.bz2
lufa-3808f5c36d0ee183e9825e645cc984f1c6047ef5.zip
Spell check source code, fix mistakes.
Diffstat (limited to 'Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c')
-rw-r--r--Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c
index 5102f101c..027264ab5 100644
--- a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c
+++ b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c
@@ -71,7 +71,7 @@ static uint16_t LastTransferLength = 0;
static uint8_t NextResponseBuffer[64];
/** Indicates the length of the next response to send */
-static uint8_t NextReponseLen;
+static uint8_t NextResponseLen;
/** Main program entry point. This routine contains the overall program flow, including initial
* setup of all components and the main program loop.
@@ -326,16 +326,16 @@ void ProcessSentMessage(uint8_t* const Data, const uint8_t Length)
if (strncmp((char*)Data, "*IDN?", 5) == 0)
strcpy((char*)NextResponseBuffer, "LUFA TMC DEMO");
- NextReponseLen = strlen((char*)NextResponseBuffer);
+ NextResponseLen = strlen((char*)NextResponseBuffer);
}
uint8_t GetNextMessage(uint8_t* const Data)
{
strcpy((char*)NextResponseBuffer, "LUFA TMC DEMO");
- NextReponseLen = strlen((char*)NextResponseBuffer);
+ NextResponseLen = strlen((char*)NextResponseBuffer);
// ---
- uint8_t DataLen = MIN(NextReponseLen, 64);
+ uint8_t DataLen = MIN(NextResponseLen, 64);
strlcpy((char*)Data, (char*)NextResponseBuffer, DataLen);