diff options
author | dsp <dsp@2f30.org> | 2019-10-31 22:50:32 -0600 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2020-11-30 21:23:48 +0100 |
commit | db9cfe6f53629ea631485851fa45b1c5c472be52 (patch) | |
tree | 7f494fe20fb7954137beaf47c3b025644d216c74 /components/volume.c | |
parent | 32fbe3869639b614f96d714cba18afdf56a6b6bf (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/volume.c')
0 files changed, 0 insertions, 0 deletions