Skip to content

Commit a6534db

Browse files
committed
change return type per reviewer comments
1 parent 54bfcc7 commit a6534db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_lsm9ds1.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def temperature(self) -> float:
333333
temp = 27.5 + temp / 16
334334
return temp
335335

336-
def _read_u8(self, sensor_type: bool, address: int) -> None:
336+
def _read_u8(self, sensor_type: bool, address: int) -> int:
337337
# Read an 8-bit unsigned value from the specified 8-bit address.
338338
# The sensor_type boolean should be _MAGTYPE when talking to the
339339
# magnetometer, or _XGTYPE when talking to the accel or gyro.

0 commit comments

Comments
 (0)