From 578d81f3df6769dd91ec96715f19586b2da04843 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Thu, 21 Jul 2016 13:27:07 +0800 Subject: Update MultiLCD library --- libraries/MultiLCD/MultiLCD.h | 2 +- libraries/MultiLCD/R61581.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries') diff --git a/libraries/MultiLCD/MultiLCD.h b/libraries/MultiLCD/MultiLCD.h index 620023c..58f7a11 100644 --- a/libraries/MultiLCD/MultiLCD.h +++ b/libraries/MultiLCD/MultiLCD.h @@ -303,7 +303,7 @@ public: void clear(uint16_t x = 0, uint16_t y = 0, uint16_t width = 479, uint16_t height = 319); void draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height); void draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte scaleY = 0); - void draw4bpp(const PROGMEM byte* buffer, uint16_t width, uint16_t height); + void draw2x(const PROGMEM byte* buffer, uint16_t width, uint16_t height); size_t write(uint8_t); void clearLine(byte line) { diff --git a/libraries/MultiLCD/R61581.cpp b/libraries/MultiLCD/R61581.cpp index b51bb36..c907df6 100644 --- a/libraries/MultiLCD/R61581.cpp +++ b/libraries/MultiLCD/R61581.cpp @@ -428,7 +428,7 @@ void LCD_R61581::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t heigh m_x += width * scaleX; } -void LCD_R61581::draw4bpp(const PROGMEM byte* buffer, uint16_t width, uint16_t height) +void LCD_R61581::draw2x(const PROGMEM byte* buffer, uint16_t width, uint16_t height) { char buf[240]; Enable(); -- cgit v1.2.3