Skip to content

Commit 3a12ab2

Browse files
committed
fix/driver/qmp6988: i2c exception caused by qmp6988 reset
This is a temporary method, and a more appropriate method will need to be used to solve this problem later. Signed-off-by: lbuque <[email protected]>
1 parent 0f7677e commit 3a12ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m5stack/libs/driver/qmp6988.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __init__(
9999
if chipid[0] != _QMP6988_CHIP_ID_VALUE:
100100
raise ValueError("device not found")
101101

102-
self.reset()
102+
# self.reset()
103103

104104
# read OTP values (datasheet section 4.3)
105105
calibration = self.i2c.readfrom_mem(

0 commit comments

Comments
 (0)