double min_rpm, max_rpm, mint, maxt, min, max;
char *strmin, *strmax;
/* horizontal and vertical offset of the graph */
double min_rpm, max_rpm, mint, maxt, min, max;
char *strmin, *strmax;
/* horizontal and vertical offset of the graph */
- strmin = psensor_value_to_str(SENSOR_TYPE_TEMP,
- mint,
- config->temperature_unit == CELSIUS);
+ strmin = psensor_value_to_str(SENSOR_TYPE_TEMP, mint, use_celsius);
- strmax = psensor_value_to_str(SENSOR_TYPE_TEMP,
- maxt,
- config->temperature_unit == CELSIUS);
+ strmax = psensor_value_to_str(SENSOR_TYPE_TEMP, maxt, use_celsius);
et = get_graph_end_time_s(enabled_sensors);
bt = get_graph_begin_time_s(config, et);
et = get_graph_end_time_s(enabled_sensors);
bt = get_graph_begin_time_s(config, et);