mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +00:00
sysfs: Do not prescale frequency to MHz
Add autoscaling in the output instead.
Fixes: 54363271 ("libsensors + sensors: Add freq_input support")
This commit is contained in:
1 parent
fceeee0543
commit
6fa5cba2e3
2 files changed
+3
-2
No files matched your search
@@ -163,7 +163,6 @@ int get_type_scaling(sensors_subfeature_type type)
|
||||
return 1000;
|
||||
case SENSORS_SUBFEATURE_POWER_AVERAGE:
|
||||
case SENSORS_SUBFEATURE_ENERGY_INPUT:
|
||||
case SENSORS_SUBFEATURE_FREQ_INPUT:
|
||||
return 1000000;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user