diff options
author | Nathan Scott <nathans@redhat.com> | 2020-08-20 14:47:07 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-08-20 14:47:07 +1000 |
commit | 6b443c5da9227221ed793616f156800ab4ee2717 (patch) | |
tree | a545f96ff0d3a7c022efec5eccf8a6ec796c9b03 /freebsd | |
parent | 011125dab2338acac9c4bbc7b04604f01f40e54b (diff) | |
parent | 81b64691a7ee55e5c665ac78290495b0aea946d7 (diff) |
Merge branch 'hishamhm-pull-932'
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/Platform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/Platform.c b/freebsd/Platform.c index 5dd6ca41..16d02329 100644 --- a/freebsd/Platform.c +++ b/freebsd/Platform.c @@ -178,6 +178,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] = -1; + return percent; } |