Merge branch 'temperature_v2' of cgzones/htop

Closes #111, closes #49
Closes #93 - thank you for leading the way @DX37 (Maxim Kurnosenko)!
This commit is contained in:
Daniel Lange
2020-11-17 11:05:15 +01:00
19 changed files with 220 additions and 23 deletions

View File

@ -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;
}