summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/MultiLCD/MultiLCD.cpp1
-rw-r--r--libraries/MultiLCD/SSD1289.cpp4
2 files changed, 3 insertions, 2 deletions
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 <Arduino.h>
#include <Wire.h>
-#include <UTFT.h>
#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)