mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-15 21:44:36 +03:00
add support to display CPU frequencies on Solarish platforms
This commit is contained in:
@ -205,7 +205,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_FREQUENCY] = cpuData->frequency;
|
||||
v[CPU_METER_TEMPERATURE] = NAN;
|
||||
|
||||
return percent;
|
||||
|
Reference in New Issue
Block a user