From 6077f86def0a1a2ddd7e22a128178ad4bc787218 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Tue, 2 Apr 2013 16:40:17 +0800 Subject: fix write() in MultiLCD --- obdlogger/MultiLCD.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'obdlogger') diff --git a/obdlogger/MultiLCD.cpp b/obdlogger/MultiLCD.cpp index 06500fa..22112d1 100644 --- a/obdlogger/MultiLCD.cpp +++ b/obdlogger/MultiLCD.cpp @@ -118,6 +118,7 @@ void LCD_OLED::write(char c) { char s[2] = {c}; ScI2cMxDisplay8x16Str(OLED_ADDRESS, m_line, m_column, s); + m_column = (m_column + 8) & 0x7f; } void LCD_OLED::print(const char* s) -- cgit v1.2.3