Set max and min frequency to current frequency when no CPU governor is available

pull/16/head
Timothy Pearson 12 years ago
parent 7abcdb6683
commit 08bbf7c85b

@ -2300,6 +2300,14 @@ void TDEHardwareDevices::processModifiedCPUs() {
frequencylist.append(TQString("%1").arg(maxfrequencyInt));
}
}
else {
if (have_frequency) {
if (cdevice) {
minfrequency = cdevice->frequency();
maxfrequency = cdevice->frequency();
}
}
}
// Update CPU information structure
if (cdevice) {

Loading…
Cancel
Save