summaryrefslogtreecommitdiff
path: root/libraries/MultiLCD/R61581.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/R61581.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/R61581.cpp')
-rw-r--r--libraries/MultiLCD/R61581.cpp6
1 files changed, 3 insertions, 3 deletions
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();