From d3fc63ae15172350247738d60edb5f42c8e9c2f0 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Tue, 10 Jun 2014 10:37:43 +1000 Subject: Update MultiLCD library --- libraries/MultiLCD/MultiLCD.cpp | 1 - libraries/MultiLCD/SSD1289.cpp | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'libraries/MultiLCD') diff --git a/libraries/MultiLCD/MultiLCD.cpp b/libraries/MultiLCD/MultiLCD.cpp index d55874f..60291e1 100644 --- a/libraries/MultiLCD/MultiLCD.cpp +++ b/libraries/MultiLCD/MultiLCD.cpp @@ -7,7 +7,6 @@ #include #include -#include #include "MultiLCD.h" #include "fonts.h" diff --git a/libraries/MultiLCD/SSD1289.cpp b/libraries/MultiLCD/SSD1289.cpp index 6552237..f2aebed 100644 --- a/libraries/MultiLCD/SSD1289.cpp +++ b/libraries/MultiLCD/SSD1289.cpp @@ -166,9 +166,11 @@ void LCD_SSD1289::clearPixels(uint16_t pixels) void LCD_SSD1289::clear() { + setColor(0); + fillRect(0, 0, 319, 239); + setColor(0xffff); m_x = 0; m_y = 0; - clrScr(); } size_t LCD_SSD1289::write(uint8_t c) -- cgit v1.2.3