sensors: Also avoid conversion from double to float for Fahrenheit

Fixes: 868fd8d0 ("Avoid the conversions from double to float.")
This commit is contained in:
Michal Suchanek committed 2023-12-26 20:56:36 +01:00
1 parent 43b6101bb0
commit aa87b54d43
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ static void scale_value(double *value, const char **prefixstr);
static inline double deg_ctof(double cel)
{
return cel * (9.0F / 5.0F) + 32.0F;
return cel * (9.0 / 5.0) + 32.0;
}
void print_chip_raw(const sensors_chip_name *name)