Skip to content

Commit f20c13b

Browse files
authored
Merge pull request #35 from hirossan4049/fix/33
fix I2C Timeout - M5stack cores3 (#33)
2 parents 27616ff + 092916f commit f20c13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_focaltouch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(self, i2c, address=_FT_DEFAULT_I2C_ADDR, debug=False, irq_pin=None)
8686
f"lib_ver: {lib_ver:02X}, chip_id: {chip_id:02X}, firm_id: {firm_id:02X}, vend_id: {vend_id:02X}" # noqa: E501
8787
)
8888

89-
if vend_id not in {0x11, 0x42, 0x01}:
89+
if vend_id not in {0x11, 0x42, 0x01, 0x02}:
9090
raise RuntimeError("Did not find FT chip")
9191

9292
if chip_id == 0x06:

0 commit comments

Comments
 (0)