Skip to content

Commit 5aa84ce

Browse files
committed
Inkplate 6COLOR fix
1 parent a8def2c commit 5aa84ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Inkplate.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ Inkplate::Inkplate() : Adafruit_GFX(E_INK_WIDTH, E_INK_HEIGHT), Graphics(E_INK_W
2626
Inkplate::Inkplate(uint8_t _mode) : Adafruit_GFX(E_INK_WIDTH, E_INK_HEIGHT), Graphics(E_INK_WIDTH, E_INK_HEIGHT)
2727
#endif
2828
{
29+
#ifndef ARDUINO_INKPLATECOLOR
2930
setDisplayMode(_mode);
31+
#endif
3032
}
3133

3234
/**

0 commit comments

Comments
 (0)