mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-06 15:51:34 +00:00
Revert bogus assumption that magnitude of sysfs files can only be
0 or 3. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2421 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
1a7c4d2eed
commit
478a83d656
1 file changed
+1
-1
+1
-1
@@ -607,6 +607,6 @@ int getsysname(const sensors_chip_feature *feature, char *sysname, int *sysmag)
|
||||
"alarms", "beep_enable", "vrm", "fan%d_div"
|
||||
*/
|
||||
strcpy(sysname, name);
|
||||
*sysmag = (feature->scaling==0?0:3);
|
||||
*sysmag = feature->scaling;
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user