mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 22:35:23 +00:00
sensors: Display 3 decimal places in raw output.
This will make it easier for us to help users find out correct scaling factors when needed. Instead of telling them to go read the raw sysfs attributes, they can just report the output of "sensors -u -c /dev/null". git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5877 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -3,6 +3,7 @@ lm-sensors CHANGES file
|
||||
|
||||
SVN HEAD
|
||||
Makefile: Check for bison and flex
|
||||
sensors: Display 3 decimal places in raw output
|
||||
sensors-detect: Improve LM90 and W83L771 detection
|
||||
Fix error seen if I2C bus numbers are not sequential
|
||||
|
||||
|
@@ -58,7 +58,7 @@ void print_chip_raw(const sensors_chip_name *name)
|
||||
sub->name,
|
||||
sensors_strerror(err));
|
||||
else
|
||||
printf(" %s: %.2f\n", sub->name, val);
|
||||
printf(" %s: %.3f\n", sub->name, val);
|
||||
} else
|
||||
printf("(%s)\n", label);
|
||||
}
|
||||
|
Reference in New Issue
Block a user