Skip to content

Commit 823d0bb

Browse files
committed
fixes host in xpt2046
1 parent c70fe0c commit 823d0bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/indev/xpt2046.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(
2525
self._mv = memoryview(self._buf)
2626

2727
self._spi = machine.SPI(
28-
host,
28+
host + 1,
2929
baudrate=freq,
3030
sck=machine.Pin(clk, machine.Pin.OUT),
3131
mosi=machine.Pin(mosi, machine.Pin.OUT),

0 commit comments

Comments
 (0)