diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2021-06-13 12:45:16 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2021-06-13 12:45:16 +0200 |
commit | 2945702efe92aace8f77ffd6a449208d09606efb (patch) | |
tree | fe75f0f6ba592b1c688a98c1a8a0230001e580b0 /libraries/MultiLCD/ILI9325D.cpp | |
parent | aa03d0e13802825a9526d87a0e79fa0f7eed38be (diff) | |
download | 2021-arduino-obd-2945702efe92aace8f77ffd6a449208d09606efb.tar.gz 2021-arduino-obd-2945702efe92aace8f77ffd6a449208d09606efb.tar.bz2 2021-arduino-obd-2945702efe92aace8f77ffd6a449208d09606efb.zip |
MultiLCD: avoid all gcc warnings
Diffstat (limited to 'libraries/MultiLCD/ILI9325D.cpp')
-rw-r--r-- | libraries/MultiLCD/ILI9325D.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/MultiLCD/ILI9325D.cpp b/libraries/MultiLCD/ILI9325D.cpp index 375ad21..908f38d 100644 --- a/libraries/MultiLCD/ILI9325D.cpp +++ b/libraries/MultiLCD/ILI9325D.cpp @@ -395,7 +395,7 @@ void LCD_ILI9325D::writeDigit(byte n) } } -void LCD_ILI9325D::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height) +void LCD_ILI9325D::draw(const byte* buffer, uint16_t width, uint16_t height) { byte rows = height >> 3; setXY(m_x, m_x + height - 1, m_y, m_y + width - 1); @@ -411,7 +411,7 @@ void LCD_ILI9325D::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t hei m_y += width; } -void LCD_ILI9325D::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte scaleY) +void LCD_ILI9325D::draw(const byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte scaleY) { byte rows = height >> 3; if (scaleY == 0) scaleY = scaleX; @@ -432,7 +432,7 @@ void LCD_ILI9325D::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t hei m_y += width * scaleX; } -void LCD_ILI9325D::draw4bpp(const PROGMEM byte* buffer, uint16_t width, uint16_t height) +void LCD_ILI9325D::draw4bpp(const byte* buffer, uint16_t width, uint16_t height) { char buf[240]; setXY(m_x, m_x + height * 2 - 1, m_y, m_y + width * 2- 1); |