We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54bfcc7 commit a6534dbCopy full SHA for a6534db
adafruit_lsm9ds1.py
@@ -333,7 +333,7 @@ def temperature(self) -> float:
333
temp = 27.5 + temp / 16
334
return temp
335
336
- def _read_u8(self, sensor_type: bool, address: int) -> None:
+ def _read_u8(self, sensor_type: bool, address: int) -> int:
337
# Read an 8-bit unsigned value from the specified 8-bit address.
338
# The sensor_type boolean should be _MAGTYPE when talking to the
339
# magnetometer, or _XGTYPE when talking to the accel or gyro.
0 commit comments