Remove const

This commit is contained in:
CommanderRedYT
2022-12-25 14:11:02 +01:00
parent cc95378d7a
commit 8c891bb556
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ public:
uint16_t decodeUTF8(uint8_t c) override { return m_tft.decodeUTF8(c); }
void setSwapBytes(bool swap) override { m_tft.setSwapBytes(swap); }
bool getSwapBytes(void) const override { return m_tft.getSwapBytes(); }
bool getSwapBytes(void) override { return m_tft.getSwapBytes(); }
void startWrite(void) override { m_tft.startWrite(); }
void writeColor(uint16_t color, uint32_t len) override { m_tft.writeColor(color, len); }

View File

@ -91,7 +91,7 @@ public:
// Swap the byte order for pushImage() and pushPixels() - corrects endianness
virtual void setSwapBytes(bool swap) = 0;
virtual bool getSwapBytes(void) const = 0;
virtual bool getSwapBytes(void) = 0;
// Bare metal functions
virtual void startWrite(void) = 0;