Skip to content

Commit c674baf

Browse files
authored
Merge pull request #13 from arduino/alt-distance-sensor
Temporarily disable model ID check
2 parents f4d1202 + 7fbc346 commit c674baf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/render-documentation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Alternative:
2+
# https://github.com/ml-tooling/lazydocs
3+
14
name: Render Documentation
25

36
on:

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)