From a428a3ae8cfe3c5a0b355ff437a31a5cba9965cf Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Sun, 23 Jun 2013 00:14:41 +0800 Subject: update MultiLCD library --- libraries/MultiLCD/ILI9325D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/MultiLCD/ILI9325D.cpp') 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++) { -- cgit v1.2.3