summaryrefslogtreecommitdiff
path: root/components/wifi.c
diff options
context:
space:
mode:
authordsp <dsp@2f30.org>2019-10-31 22:50:32 -0600
committerAaron Marcher <me@drkhsh.at>2020-11-30 21:23:48 +0100
commitdb9cfe6f53629ea631485851fa45b1c5c472be52 (patch)
tree7f494fe20fb7954137beaf47c3b025644d216c74 /components/wifi.c
parent32fbe3869639b614f96d714cba18afdf56a6b6bf (diff)
Fix temperature reporting on OpenBSD
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
Diffstat (limited to 'components/wifi.c')
0 files changed, 0 insertions, 0 deletions