Skip to content

Commit b59fb4b

Browse files
committed
Update Inkplate6plus.cpp
Fixed enabling of frontlight at waking up Inkplate 6PLUS.
1 parent 2521ccd commit b59fb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boards/Inkplate6plus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ bool Inkplate::begin(void)
156156

157157
// Disable/Enable Frontlight PWR
158158
pinModeInternal(MCP23017_INT_ADDR, mcpRegsInt, FRONTLIGHT_EN, OUTPUT);
159-
digitalWriteInternal(MCP23017_INT_ADDR, mcpRegsInt, FRONTLIGHT_EN, HIGH);
159+
digitalWriteInternal(MCP23017_INT_ADDR, mcpRegsInt, FRONTLIGHT_EN, LOW);
160160

161161
DMemoryNew = (uint8_t *)ps_malloc(E_INK_WIDTH * E_INK_HEIGHT / 8);
162162
_partial = (uint8_t *)ps_malloc(E_INK_WIDTH * E_INK_HEIGHT / 8);

0 commit comments

Comments
 (0)