Skip to content

Commit 7e5178b

Browse files
committed
Inkplate 2 displayMode removed
1 parent 4e2c5bf commit 7e5178b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/include/Graphics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ void Graphics::endWrite()
208208
{
209209
}
210210

211-
#if !defined(ARDUINO_INKPLATECOLOR) && !defined(ARDUINO_INKPLATE2)
211+
#if !defined(ARDUINO_INKPLATECOLOR) && !defined(ARDUINO_INKPLATE2)
212212

213213
/**
214214
* @brief setDisplayMode sets display mode

src/include/Graphics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Graphics : public Shapes, public Image
5656

5757
void drawPixel(int16_t x, int16_t y, uint16_t color) override;
5858

59-
#if !defined(ARDUINO_INKPLATECOLOR) && !defined(ARDUINO_INKPLATE2)
59+
#if !defined(ARDUINO_INKPLATECOLOR) && !defined(ARDUINO_INKPLATE2)
6060
void selectDisplayMode(uint8_t _mode);
6161
void setDisplayMode(uint8_t _mode);
6262
uint8_t getDisplayMode();

src/include/Image.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Image : virtual public NetworkClient, virtual public Adafruit_GFX
5353

5454
virtual void drawPixel(int16_t x, int16_t y, uint16_t color) = 0;
5555

56-
#ifndef ARDUINO_INKPLATECOLOR
56+
#if !defined(ARDUINO_INKPLATECOLOR) && !defined(ARDUINO_INKPLATE2)
5757
virtual void selectDisplayMode(uint8_t _mode) = 0;
5858
virtual uint8_t getDisplayMode() = 0;
5959
#endif

src/include/Shapes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Shapes : virtual public Adafruit_GFX
3636

3737
virtual void drawPixel(int16_t x, int16_t y, uint16_t color) = 0;
3838

39-
#ifndef ARDUINO_INKPLATECOLOR
39+
#if !defined(ARDUINO_INKPLATECOLOR) && !defined(ARDUINO_INKPLATE2)
4040
virtual void selectDisplayMode(uint8_t _mode) = 0;
4141
virtual uint8_t getDisplayMode() = 0;
4242
#endif

0 commit comments

Comments
 (0)