Skip to content

Commit 11a7497

Browse files
authored
Merge pull request #9 from caternuson/iss8
Fix bug in gyro property
2 parents d111f78 + c125b45 commit 11a7497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_lsm9ds0.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def gyro(self):
309309
"""The gyroscope X, Y, Z axis values as a 3-tuple of
310310
degrees/second values.
311311
"""
312-
raw = self.read_mag_raw()
312+
raw = self.read_gyro_raw()
313313
return map(lambda x: x * self._gyro_dps_digit, raw)
314314

315315
def read_temp_raw(self):

0 commit comments

Comments
 (0)