From 15e9a7eda8b2e70715a10354f529742b4d07c598 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Thu, 22 Oct 2015 00:28:28 -0400 Subject: [PATCH] Fix parsing of 2 argument ANSI escapes Signed-off-by: Collin J. Doering --- lcdLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcdLib.c b/lcdLib.c index a40d1ae..6e376b9 100644 --- a/lcdLib.c +++ b/lcdLib.c @@ -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) {