summaryrefslogtreecommitdiff
path: root/libraries/MultiLCD/ILI9325D.cpp
diff options
context:
space:
mode:
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++) {