Skip to content

Commit c125b45

Browse files
author
caternuson
committed
fix bug in gyro property
1 parent d111f78 commit c125b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_lsm9ds0.py

Lines changed: 1 addition & 1 deletion
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)