Skip to content

Commit 9d010b9

Browse files
committed
rename function to pass linting
1 parent 0969002 commit 9d010b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_max31856.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,11 @@ def unpack_temperature(self) -> float:
253253

254254
return temp_float
255255

256-
def read_high_res_temp_degC(self) -> float:
256+
def read_high_res_temp(self) -> float:
257257
"""Reads 19-bit temperature data from the sensor and returns it in degrees Celsius.
258258
259+
Reading must have already been initiated via `initiate_one_shot_measurement` or `start_autoconverting`.
260+
259261
Returns:
260262
float: temperature in degrees Celsius
261263
"""

0 commit comments

Comments
 (0)