Skip to content

Commit 7f87df0

Browse files
committed
Small fix to 6color
1 parent 2644bb3 commit 7f87df0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/boards/Inkplate6COLOR/Inkplate6COLORDriver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void EPDDriver::writePixelInternal(int16_t x, int16_t y, uint16_t color)
3232
if (color > 6)
3333
return;
3434

35-
/*switch (_inkplate->getRotation())
35+
switch (_inkplate->getRotation())
3636
{
3737
case 3:
3838
_swap_int16_t(x0, y0);
@@ -46,7 +46,7 @@ void EPDDriver::writePixelInternal(int16_t x, int16_t y, uint16_t color)
4646
_swap_int16_t(x0, y0);
4747
y0 = E_INK_WIDTH - y0 - 1;
4848
break;
49-
} */
49+
}
5050

5151
int _x = x0 / 2;
5252
int _x_sub = x0 % 2;

src/boards/Inkplate6COLOR/Inkplate6COLORDriver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class EPDDriver
5353

5454
IOExpander internalIO;
5555

56-
// RTC rtc;
56+
RTC rtc;
5757

5858
ImageColor image;
5959

0 commit comments

Comments
 (0)