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/ILI9341.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries/MultiLCD/ILI9341.cpp') diff --git a/libraries/MultiLCD/ILI9341.cpp b/libraries/MultiLCD/ILI9341.cpp index 4f8b64c..a5e56ca 100644 --- a/libraries/MultiLCD/ILI9341.cpp +++ b/libraries/MultiLCD/ILI9341.cpp @@ -478,7 +478,7 @@ void LCD_ILI9341::writeDigit(byte n) } } -void LCD_ILI9341::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height) +void LCD_ILI9341::draw(const byte* buffer, uint16_t width, uint16_t height) { byte rows = height >> 3; setXY(m_y, m_y + height - 1, m_x, m_x + width - 1); @@ -495,7 +495,7 @@ void LCD_ILI9341::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t heig m_x += width; } -void LCD_ILI9341::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte ScaleY) +void LCD_ILI9341::draw(const byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte ScaleY) { byte rows = height >> 3; setXY(m_y, m_y + height * 2 - 1, m_x, m_x + width * 2 - 1); -- cgit v1.2.3