summaryrefslogtreecommitdiff
path: root/libraries/MultiLCD/SSD1289.cpp
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2021-06-13 12:45:16 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2021-06-13 12:45:16 +0200
commit2945702efe92aace8f77ffd6a449208d09606efb (patch)
treefe75f0f6ba592b1c688a98c1a8a0230001e580b0 /libraries/MultiLCD/SSD1289.cpp
parentaa03d0e13802825a9526d87a0e79fa0f7eed38be (diff)
download2021-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/SSD1289.cpp')
-rw-r--r--libraries/MultiLCD/SSD1289.cpp6
1 files changed, 3 insertions, 3 deletions
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();