Skip to content

Commit 7ff5e3c

Browse files
committed
Temporarily disable model ID check
1 parent f4d1202 commit 7ff5e3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modulino/lib/vl53l4cd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def __init__(self, i2c, address=41):
8888
self._i2c = i2c
8989
self._device_address = address
9090
model_id, module_type = self.model_info
91-
if model_id != 0xEB or module_type != 0xAA:
92-
raise RuntimeError(f"Wrong sensor ID ({model_id}) or type!")
91+
# if model_id != 0xEB or module_type != 0xAA:
92+
# raise RuntimeError(f"Wrong sensor ID ({model_id}) or type!")
9393
self._ranging = False
9494
self._sensor_init()
9595

0 commit comments

Comments
 (0)