From 2945702efe92aace8f77ffd6a449208d09606efb Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 13 Jun 2021 12:45:16 +0200 Subject: MultiLCD: avoid all gcc warnings --- libraries/MultiLCD/SSD1289.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries/MultiLCD/SSD1289.cpp') diff --git a/libraries/MultiLCD/SSD1289.cpp b/libraries/MultiLCD/SSD1289.cpp index dab0b32..f89c9bd 100644 --- a/libraries/MultiLCD/SSD1289.cpp +++ b/libraries/MultiLCD/SSD1289.cpp @@ -302,7 +302,7 @@ void LCD_SSD1289::writeDigit(byte n) Disable(); } -void LCD_SSD1289::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height) +void LCD_SSD1289::draw(const byte* buffer, uint16_t width, uint16_t height) { byte rows = height >> 3; Enable(); @@ -327,7 +327,7 @@ void LCD_SSD1289::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t heig m_x += width; } -void LCD_SSD1289::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte scaleY) +void LCD_SSD1289::draw(const byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte scaleY) { byte rows = height >> 3; if (scaleY == 0) scaleY = scaleX; @@ -359,7 +359,7 @@ void LCD_SSD1289::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t heig m_x += width * scaleX; } -void LCD_SSD1289::draw4bpp(const PROGMEM byte* buffer, uint16_t width, uint16_t height) +void LCD_SSD1289::draw4bpp(const byte* buffer, uint16_t width, uint16_t height) { char buf[240]; Enable(); -- cgit v1.2.3