Skip to content

Commit 53e4db1

Browse files
authored
Update Inkplate6plus.cpp
1 parent a3c8256 commit 53e4db1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/boards/Inkplate6plus.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ bool Inkplate::begin(void)
170170

171171
// Disable/Enable Frontlight PWR
172172
pinModeInternal(MCP23017_INT_ADDR, mcpRegsInt, FRONTLIGHT_EN, OUTPUT);
173-
digitalWriteInternal(MCP23017_INT_ADDR, mcpRegsInt, FRONTLIGHT_EN, HIGH);
173+
digitalWriteInternal(MCP23017_INT_ADDR, mcpRegsInt, FRONTLIGHT_EN, LOW);
174174

175175
DMemoryNew = (uint8_t *)ps_malloc(E_INK_WIDTH * E_INK_HEIGHT / 8);
176176
_partial = (uint8_t *)ps_malloc(E_INK_WIDTH * E_INK_HEIGHT / 8);
@@ -567,4 +567,4 @@ void Inkplate::einkOff()
567567
setPanelState(0);
568568
}
569569

570-
#endif
570+
#endif

0 commit comments

Comments
 (0)