summaryrefslogtreecommitdiff
path: root/libraries/MultiLCD/ILI9325D.cpp
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-06-23 00:14:41 +0800
committerStanley Huang <stanleyhuangyc@gmail.com>2013-06-23 00:14:41 +0800
commita428a3ae8cfe3c5a0b355ff437a31a5cba9965cf (patch)
tree0d4382c38399822b6dd4d1ed175603d565c13b7b /libraries/MultiLCD/ILI9325D.cpp
parent7f33c78305dc61642a223df575d3782d4e9038ca (diff)
download2021-arduino-obd-a428a3ae8cfe3c5a0b355ff437a31a5cba9965cf.tar.gz
2021-arduino-obd-a428a3ae8cfe3c5a0b355ff437a31a5cba9965cf.tar.bz2
2021-arduino-obd-a428a3ae8cfe3c5a0b355ff437a31a5cba9965cf.zip
update MultiLCD library
Diffstat (limited to 'libraries/MultiLCD/ILI9325D.cpp')
-rw-r--r--libraries/MultiLCD/ILI9325D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/MultiLCD/ILI9325D.cpp b/libraries/MultiLCD/ILI9325D.cpp
index 8234982..0f70f12 100644
--- a/libraries/MultiLCD/ILI9325D.cpp
+++ b/libraries/MultiLCD/ILI9325D.cpp
@@ -380,7 +380,7 @@ void LCD_ILI9325D::writeDigit(byte n)
if (n >= 0 && n <= 9) {
memcpy_P(pgm_buffer, &font8x16_terminal[n + '0' - 0x21], 16);
} else {
- return;
+ memset(pgm_buffer, 0, 16);
}
SetXY(m_x, m_x + 15, m_y, m_y + 7);
for (byte i = 0; i < 16; i++) {