diff options
Diffstat (limited to 'linux/Platform.c')
-rw-r--r-- | linux/Platform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/Platform.c b/linux/Platform.c index 130403f2..afdd3f02 100644 --- a/linux/Platform.c +++ b/linux/Platform.c @@ -198,6 +198,9 @@ double Platform_setCPUValues(Meter* this, int cpu) { } percent = CLAMP(percent, 0.0, 100.0); if (isnan(percent)) percent = 0.0; + + v[CPU_METER_FREQUENCY] = cpuData->frequency; + return percent; } |