Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(from:
3fc2872
)
Fix temperature reporting on OpenBSD
author
dsp <
[email protected]
>
Fri, 1 Nov 2019 04:50:32 +0000
(22:50 -0600)
committer
Aaron Marcher <
[email protected]
>
Mon, 30 Nov 2020 20:23:48 +0000
(21:23 +0100)
On OpenBSD although the formula is correct due to integer division a
temperature of for example 54 celsius appears as 5. this patch first
treats it as a floating point op before retaining the non decimal digits
No differences found