Skip to content

Commit ada849f

Browse files
committed
Fix wrong function call
1 parent fd08a76 commit ada849f

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/boards/Inkplate10/Inkplate10Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ bool EPDDriver::setVCOM(double vcom)
10461046

10471047
bool EPDDriver::writeVCOMToPanelEEPROM(double v)
10481048
{
1049-
internalIO.pinModeInternal(6, INPUT_PULLUP);
1049+
internalIO.pinMode(6, INPUT_PULLUP);
10501050
int raw = abs((int)(v * 100.0)) & 0x1FF;
10511051

10521052
uint8_t vcomL = (uint8_t)(raw & 0xFF);

src/boards/Inkplate4TEMPERA/Inkplate4TEMPERADriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ bool EPDDriver::setVCOM(double vcom)
10821082

10831083
bool EPDDriver::writeVCOMToPanelEEPROM(double v)
10841084
{
1085-
internalIO.pinModeInternal(6, INPUT_PULLUP);
1085+
internalIO.pinMode(6, INPUT_PULLUP);
10861086
int raw = abs((int)(v * 100.0)) & 0x1FF;
10871087

10881088
uint8_t vcomL = (uint8_t)(raw & 0xFF);

src/boards/Inkplate5/Inkplate5Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ bool EPDDriver::setVCOM(double vcom)
11561156

11571157
bool EPDDriver::writeVCOMToPanelEEPROM(double v)
11581158
{
1159-
internalIO.pinModeInternal(6, INPUT_PULLUP);
1159+
internalIO.pinMode(6, INPUT_PULLUP);
11601160
int raw = abs((int)(v * 100.0)) & 0x1FF;
11611161

11621162
uint8_t vcomL = (uint8_t)(raw & 0xFF);

src/boards/Inkplate5V2/Inkplate5V2Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ bool EPDDriver::setVCOM(double vcom)
10911091

10921092
bool EPDDriver::writeVCOMToPanelEEPROM(double v)
10931093
{
1094-
internalIO.pinModeInternal(6, INPUT_PULLUP);
1094+
internalIO.pinMode(6, INPUT_PULLUP);
10951095
int raw = abs((int)(v * 100.0)) & 0x1FF;
10961096

10971097
uint8_t vcomL = (uint8_t)(raw & 0xFF);

src/boards/Inkplate6/Inkplate6Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ bool EPDDriver::setVCOM(double vcom)
11001100

11011101
bool EPDDriver::writeVCOMToPanelEEPROM(double v)
11021102
{
1103-
internalIO.pinModeInternal(6, INPUT_PULLUP);
1103+
internalIO.pinMode(6, INPUT_PULLUP);
11041104
int raw = abs((int)(v * 100.0)) & 0x1FF;
11051105

11061106
uint8_t vcomL = (uint8_t)(raw & 0xFF);

src/boards/Inkplate6FLICK/Inkplate6FLICKDriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ bool EPDDriver::setVCOM(double vcom)
853853

854854
bool EPDDriver::writeVCOMToPanelEEPROM(double v)
855855
{
856-
internalIO.pinModeInternal(6, INPUT_PULLUP);
856+
internalIO.pinMode(6, INPUT_PULLUP);
857857
int raw = abs((int)(v * 100.0)) & 0x1FF;
858858

859859
uint8_t vcomL = (uint8_t)(raw & 0xFF);

src/boards/Inkplate6PLUS/Inkplate6PLUSDriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ bool EPDDriver::setVCOM(double vcom)
11111111

11121112
bool EPDDriver::writeVCOMToPanelEEPROM(double v)
11131113
{
1114-
internalIO.pinModeInternal(6, INPUT_PULLUP);
1114+
internalIO.pinMode(6, INPUT_PULLUP);
11151115
int raw = abs((int)(v * 100.0)) & 0x1FF;
11161116

11171117
uint8_t vcomL = (uint8_t)(raw & 0xFF);

0 commit comments

Comments
 (0)