mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-01-29 19:41:05 +02:00
Fixed mistake in 8bcd03962f2fb1c6166eebd280b6648d3387eac8.
"iclock" is not a local variable: it is a field, so it should be updated.
This commit is contained in:
parent
03ea679a1d
commit
6729e30acb
@ -145,9 +145,10 @@ const string &LinkApp::clockStr(int maxClock) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void LinkApp::setClock(int mhz) {
|
void LinkApp::setClock(int mhz) {
|
||||||
|
iclock = mhz;
|
||||||
stringstream ss;
|
stringstream ss;
|
||||||
sclock = "";
|
sclock = "";
|
||||||
ss << mhz << "MHz";
|
ss << iclock << "MHz";
|
||||||
ss >> sclock;
|
ss >> sclock;
|
||||||
|
|
||||||
edited = true;
|
edited = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user