summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/MultiLCD/MultiLCD.cpp1
-rw-r--r--obdlogger/MultiLCD.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/libraries/MultiLCD/MultiLCD.cpp b/libraries/MultiLCD/MultiLCD.cpp
index 06500fa..22112d1 100644
--- a/libraries/MultiLCD/MultiLCD.cpp
+++ b/libraries/MultiLCD/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)
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)