diff options
| author | Ondrej Čerman <ondrej.cerman@gmail.com> | 2020-02-03 11:19:32 +0100 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2020-02-08 15:37:30 -0800 | 
| commit | 8e4c7f6d4948af83678be40ace71f4599f6c1b8e (patch) | |
| tree | 4d6605324b93da13ff258f6fe344a7642eca412c /modules | |
| parent | 985118ed10454de1706591aae46d5b919ee2e37c (diff) | |
Sensors: Updated labels
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/devices/sensors.c | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/modules/devices/sensors.c b/modules/devices/sensors.c index d660ef92..63b33cf5 100644 --- a/modules/devices/sensors.c +++ b/modules/devices/sensors.c @@ -218,12 +218,12 @@ struct HwmonSensor {  static const struct HwmonSensor hwmon_sensors[] = {      { -        "Fan", +        "Fan Speed",          "^fan([0-9]+)_input$",          "%s/fan%d_input",          "%s/fan%d_label",          "fan%d", -        "RPM", +        " RPM",          1.0,          "fan"      }, @@ -253,7 +253,7 @@ static const struct HwmonSensor hwmon_sensors[] = {          "%s/curr%d_input",          "%s/curr%d_label",          "curr%d", -        "A", +        " A",          1000.0,          "bolt"      }, @@ -263,17 +263,17 @@ static const struct HwmonSensor hwmon_sensors[] = {          "%s/power%d_input",          "%s/power%d_label",          "power%d", -        "W", +        " W",          1000000.0,          "bolt"      },      { -        "Voltage", +        "CPU Voltage",          "^cpu([0-9]+)_vid$",          "%s/cpu%d_vid",          NULL,          "cpu%d_vid", -        "V", +        " V",          1000.0,          "bolt"      }, @@ -540,7 +540,7 @@ static void read_sensors_hddtemp(void) {               */              const gchar *unit = strcmp(fields[3], "C")                  ? "\302\260C" : "\302\260F"; -            add_sensor("Hard Drive", +            add_sensor("Drive Temperature",                         fields[1],                         "hddtemp",                         atoi(fields[2]), @@ -567,7 +567,7 @@ void read_sensors_udisks2(void) {      for (node = temps; node != NULL; node = node->next) {          disk = (udiskt *)node->data; -        add_sensor("Hard Drive", +        add_sensor("Drive Temperature",                     disk->drive,                     "udisks2",                     disk->temperature, | 
