summaryrefslogtreecommitdiff
path: root/obdlogger
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-04-02 16:40:17 +0800
committerStanley Huang <stanleyhuangyc@gmail.com>2013-04-02 16:40:17 +0800
commit6077f86def0a1a2ddd7e22a128178ad4bc787218 (patch)
tree033444f96929449bb9a159d94f2596ae35f06b5d /obdlogger
parentb59be2fb6f05f43e93ce70bd140ab7149fa18c40 (diff)
download2021-arduino-obd-6077f86def0a1a2ddd7e22a128178ad4bc787218.tar.gz
2021-arduino-obd-6077f86def0a1a2ddd7e22a128178ad4bc787218.tar.bz2
2021-arduino-obd-6077f86def0a1a2ddd7e22a128178ad4bc787218.zip
fix write() in MultiLCD
Diffstat (limited to 'obdlogger')
-rw-r--r--obdlogger/MultiLCD.cpp1
1 files changed, 1 insertions, 0 deletions
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)