Skip to content

Commit 9582b38

Browse files
authored
Merge pull request #10 from aarondewindt/patch-1
Fixed bug in gryo property
2 parents e91510f + 7a30769 commit 9582b38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_lsm9ds1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def gyro(self):
316316
"""The gyroscope X, Y, Z axis values as a 3-tuple of
317317
degrees/second values.
318318
"""
319-
raw = self.read_mag_raw()
319+
raw = self.read_gyro_raw()
320320
return map(lambda x: x * self._gyro_dps_digit, raw)
321321

322322
def read_temp_raw(self):

0 commit comments

Comments
 (0)