diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-10 19:56:33 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-11-16 16:38:54 +0100 |
commit | 1b225cd7a0af03a6349c48326118a287fc36acd0 (patch) | |
tree | dff0955221e7fce63e2308febbefdd58213d16c3 /dragonflybsd | |
parent | 309f1d7282ec8efa4ff6b24a001a4908f5fd28d0 (diff) |
Show CPU temperature in CPU meter
Show the CPU temperature in the CPU meter, like CPU frequency, instead
of using an extra Meter.
Diffstat (limited to 'dragonflybsd')
-rw-r--r-- | dragonflybsd/Platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dragonflybsd/Platform.c b/dragonflybsd/Platform.c index 36f4f806..dd36bf0a 100644 --- a/dragonflybsd/Platform.c +++ b/dragonflybsd/Platform.c @@ -179,6 +179,7 @@ double Platform_setCPUValues(Meter* this, int cpu) { percent = isnan(percent) ? 0.0 : CLAMP(percent, 0.0, 100.0); v[CPU_METER_FREQUENCY] = NAN; + v[CPU_METER_TEMPERATURE] = NAN; return percent; } |