diff options
author | Daniel Lange <DLange@git.local> | 2020-11-17 11:05:15 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2020-11-17 11:05:15 +0100 |
commit | fec9af4e6fd7e45e4cb623a84c34b92d3e506b3f (patch) | |
tree | cfc8d5daea3c49a373c4d501f9b37a354fb94c94 /openbsd | |
parent | a94fd87b05aa23d453d6e238746b5a55e75544bd (diff) | |
parent | 1b225cd7a0af03a6349c48326118a287fc36acd0 (diff) |
Merge branch 'temperature_v2' of cgzones/htop
Closes #111, closes #49
Closes #93 - thank you for leading the way @DX37 (Maxim Kurnosenko)!
Diffstat (limited to 'openbsd')
-rw-r--r-- | openbsd/Platform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c index 8e2a5822..5601048d 100644 --- a/openbsd/Platform.c +++ b/openbsd/Platform.c @@ -187,6 +187,9 @@ double Platform_setCPUValues(Meter* this, int cpu) { if (isnan(totalPercent)) { totalPercent = 0.0; } + + v[CPU_METER_TEMPERATURE] = NAN; + return totalPercent; } |