X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Flib%2Fpsensor.h;h=27dacacc6821823e97b1a507b717031f3e9cebf7;hp=093bc6daee3c03c69d47fbb585b5365e7ea08591;hb=e57d7f801ae20f02e0cb28107a89b31fa51de1c1;hpb=6735627cdee1f90e8279d3a9c143a92c960dab18 diff --git a/src/lib/psensor.h b/src/lib/psensor.h index 093bc6d..27dacac 100644 --- a/src/lib/psensor.h +++ b/src/lib/psensor.h @@ -156,7 +156,9 @@ psensor_get_max_current_value(struct psensor **sensors, unsigned int type); parameter 'type' is SENSOR_TYPE_LMSENSOR_TEMP, SENSOR_TYPE_NVIDIA, or SENSOR_TYPE_LMSENSOR_FAN */ -char *psensor_value_to_string(unsigned int type, double value); +char *psensor_value_to_string(unsigned int type, + double value, + int use_celcius); struct psensor **get_all_sensors(int use_libatasmart, int values_max_length);