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/R61581.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries/MultiLCD/R61581.cpp') diff --git a/libraries/MultiLCD/R61581.cpp b/libraries/MultiLCD/R61581.cpp index b17d5d5..418de14 100644 --- a/libraries/MultiLCD/R61581.cpp +++ b/libraries/MultiLCD/R61581.cpp @@ -370,7 +370,7 @@ void LCD_R61581::writeDigit(byte n) Disable(); } -void LCD_R61581::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height) +void LCD_R61581::draw(const byte* buffer, uint16_t width, uint16_t height) { byte rows = height >> 3; Enable(); @@ -395,7 +395,7 @@ void LCD_R61581::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t heigh m_x += width; } -void LCD_R61581::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte scaleY) +void LCD_R61581::draw(const byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte scaleY) { byte rows = height >> 3; if (scaleY == 0) scaleY = scaleX; @@ -427,7 +427,7 @@ void LCD_R61581::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t heigh m_x += width * scaleX; } -void LCD_R61581::draw2x(const PROGMEM byte* buffer, uint16_t width, uint16_t height) +void LCD_R61581::draw2x(const byte* buffer, uint16_t width, uint16_t height) { char buf[240]; Enable(); -- cgit v1.2.3