Skip to content

Commit

Permalink
removing boot that causes issues with the LSM6DS33 on some CLUEs
Browse files Browse the repository at this point in the history
  • Loading branch information
siddacious committed Jun 5, 2020
1 parent ee8f218 commit 2ffd1a0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions adafruit_lsm6ds.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ class LSM6DS: # pylint: disable=too-many-instance-attributes

_sw_reset = RWBit(_LSM6DS_CTRL3_C, 0)
_bdu = RWBit(_LSM6DS_CTRL3_C, 6)
_boot = RWBit(_LSM6DS_CTRL3_C, 7)

_high_pass_filter = RWBits(2, _LSM6DS_CTRL8_XL, 5)
_i3c_disable = RWBit(_LSM6DS_CTRL9_XL, 1)
Expand Down Expand Up @@ -248,9 +247,6 @@ def reset(self):
self._sw_reset = True
while self._sw_reset:
sleep(0.001)
self._boot = True
while self._boot:
sleep(0.001)

@property
def acceleration(self):
Expand Down

0 comments on commit 2ffd1a0

Please sign in to comment.