Fix parsing of 2 argument ANSI escapes

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
This commit is contained in:
Collin J. Doering 2015-10-22 00:28:28 -04:00
parent 38ce0ce37f
commit 15e9a7eda8

View File

@ -292,7 +292,7 @@ void writeStringToLCD(char* str) {
uint8_t fnd1;
uint8_t num1;
if (*str != '\0' && *str == ';') {
num1 = readASCIINumber(str, &fnd1, &str);
num1 = readASCIINumber(++str, &fnd1, &str);
// Read control character (between 0x40 - 0x7e) for two argument sequences
switch (*str) {