Skip to content

Commit 2ffd1a0

Browse files
committed
removing boot that causes issues with the LSM6DS33 on some CLUEs
1 parent ee8f218 commit 2ffd1a0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

adafruit_lsm6ds.py

-4
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ class LSM6DS: # pylint: disable=too-many-instance-attributes
212212

213213
_sw_reset = RWBit(_LSM6DS_CTRL3_C, 0)
214214
_bdu = RWBit(_LSM6DS_CTRL3_C, 6)
215-
_boot = RWBit(_LSM6DS_CTRL3_C, 7)
216215

217216
_high_pass_filter = RWBits(2, _LSM6DS_CTRL8_XL, 5)
218217
_i3c_disable = RWBit(_LSM6DS_CTRL9_XL, 1)
@@ -248,9 +247,6 @@ def reset(self):
248247
self._sw_reset = True
249248
while self._sw_reset:
250249
sleep(0.001)
251-
self._boot = True
252-
while self._boot:
253-
sleep(0.001)
254250

255251
@property
256252
def acceleration(self):

0 commit comments

Comments
 (0)