mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 20:08:27 +02:00
Removed one last occurrence of hardcoded minimum CPU frequency.
Well, I hope it was really the last one now.
This commit is contained in:
parent
a014a331f4
commit
8d04cf1064
@ -2080,7 +2080,7 @@ void GMenu2X::applyDefaultTimings() {
|
|||||||
|
|
||||||
|
|
||||||
void GMenu2X::setClock(unsigned mhz) {
|
void GMenu2X::setClock(unsigned mhz) {
|
||||||
mhz = constrain(mhz, 30, confInt["maxClock"]);
|
mhz = constrain(mhz, cpuFreqMin, confInt["maxClock"]);
|
||||||
#if defined(PLATFORM_DINGUX) || defined(PLATFORM_NANONOTE)
|
#if defined(PLATFORM_DINGUX) || defined(PLATFORM_NANONOTE)
|
||||||
jz_cpuspeed(mhz);
|
jz_cpuspeed(mhz);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user