diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-04-20 17:19:39 +0800 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-04-20 17:19:39 +0800 |
commit | 1d62e07da40ba9225dfe4f7e93129d4d7da03ccb (patch) | |
tree | d75c0b9de08a5ae7f8d4a6bc9ad029fcf98e2c9c /libraries/MultiLCD/MultiLCD.h | |
parent | 419e04efbdd1498a3f726c3a2d49d429fcb0cf92 (diff) | |
download | 2021-arduino-obd-1d62e07da40ba9225dfe4f7e93129d4d7da03ccb.tar.gz 2021-arduino-obd-1d62e07da40ba9225dfe4f7e93129d4d7da03ccb.tar.bz2 2021-arduino-obd-1d62e07da40ba9225dfe4f7e93129d4d7da03ccb.zip |
update MultiLCD library
Diffstat (limited to 'libraries/MultiLCD/MultiLCD.h')
-rw-r--r-- | libraries/MultiLCD/MultiLCD.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/MultiLCD/MultiLCD.h b/libraries/MultiLCD/MultiLCD.h index 2a10356..35016aa 100644 --- a/libraries/MultiLCD/MultiLCD.h +++ b/libraries/MultiLCD/MultiLCD.h @@ -22,7 +22,7 @@ public: void setCursor(unsigned char column, unsigned char line) { m_column = column << 3; - m_line = line << 1; + m_line = line == -1 ? m_line + 2 : (line << 1); } void write(char c); void print(const char* s); |