Skip to content

Commit

Permalink
typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Mar 12, 2024
1 parent 2e7514b commit 2d75217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit-tests/live/d500/test-temperatures-xu-vs-hwmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def parse_temperature_from_hwm(hwm_answer):
by 2 values: the first is the decimal part, and the second one is the whole value part
e.g.: if the 2 values are 90 28 (in hex):
* the whole value part is 0x28 = 40
* the decimal value part is 0x91 = 144. 144/256 = 0.5625
* the decimal value part is 0x90 = 144. 144/256 = 0.5625
So in this example, the resulting temperature is 40.5625 deg.
This function parses the hwmc returned list to a list of temperatures, parsed as explained above.
"""
Expand Down

0 comments on commit 2d75217

Please sign in to comment.