Skip to content

Commit 548a203

Browse files
committed
Fix t-deck keyboard
#2764
1 parent a1b6e9f commit 548a203

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

boards/lilygo-t-deck/interface.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ void InputHandler(void) {
173173
}
174174
touched = touch.getPoint(&t.x, &t.y);
175175
delay(1);
176-
Wire.requestFrom(LILYGO_KB_SLAVE_ADDRESS, 1);
177-
while (Wire.available() > 0) {
178-
keyValue = Wire.read();
176+
Wire1.requestFrom(LILYGO_KB_SLAVE_ADDRESS, 1);
177+
while (Wire1.available() > 0) {
178+
keyValue = Wire1.read();
179179
delay(1);
180180
}
181181
if (millis() - tm < 200 && !LongPress) return;

0 commit comments

Comments
 (0)