mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-01-25 03:01:05 +02:00
Do not constrain the max CPU frequency for apps on setting the string value.
It is already constrained on editing and when actually applying the frequency. The string value constrain is problematic because it happens in a class that has no knowledge of the actual CPU limits, so it can only contrain to hardcoded limits. With this change you'll actually be able to run apps at 432 MHz.
This commit is contained in:
parent
8d04cf1064
commit
8bcd03962f
@ -145,10 +145,9 @@ const string &LinkApp::clockStr(int maxClock) {
|
||||
}
|
||||
|
||||
void LinkApp::setClock(int mhz) {
|
||||
iclock = constrain(mhz,200,430);
|
||||
stringstream ss;
|
||||
sclock = "";
|
||||
ss << iclock << "Mhz";
|
||||
ss << mhz << "Mhz";
|
||||
ss >> sclock;
|
||||
|
||||
edited = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user