Skip to content

Commit

Permalink
Merge pull request #10 from aarondewindt/patch-1
Browse files Browse the repository at this point in the history
Fixed bug in gryo property
  • Loading branch information
ladyada committed Sep 16, 2018
2 parents e91510f + 7a30769 commit 9582b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_lsm9ds1.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def gyro(self):
"""The gyroscope X, Y, Z axis values as a 3-tuple of
degrees/second values.
"""
raw = self.read_mag_raw()
raw = self.read_gyro_raw()
return map(lambda x: x * self._gyro_dps_digit, raw)

def read_temp_raw(self):
Expand Down

0 comments on commit 9582b38

Please sign in to comment.