mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Show N/A on unsupported platforms instead of 0KHz
This commit is contained in:
@ -108,8 +108,11 @@ int Platform_getMaxPid() {
|
||||
}
|
||||
|
||||
double Platform_setCPUValues(Meter* this, int cpu) {
|
||||
(void) this;
|
||||
(void) cpu;
|
||||
|
||||
double* v = this->values;
|
||||
v[CPU_METER_FREQUENCY] = -1;
|
||||
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user