mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-22 11:46:14 +02:00
Fixed compile when ENABLE_CPUFREQ is defined
There was some code inside an #ifdef that was overlooked during refactoring.
This commit is contained in:
parent
6418ff065f
commit
0d26a2a456
@ -253,7 +253,7 @@ void Menu::paint(Surface &s) {
|
|||||||
LinkApp *linkApp = selLinkApp();
|
LinkApp *linkApp = selLinkApp();
|
||||||
if (linkApp) {
|
if (linkApp) {
|
||||||
#ifdef ENABLE_CPUFREQ
|
#ifdef ENABLE_CPUFREQ
|
||||||
s.write(&font, linkApp->clockStr(gmenu2x->confInt["maxClock"]),
|
font.write(s, linkApp->clockStr(gmenu2x->confInt["maxClock"]),
|
||||||
gmenu2x->cpuX, gmenu2x->bottomBarTextY,
|
gmenu2x->cpuX, gmenu2x->bottomBarTextY,
|
||||||
Font::HAlignLeft, Font::VAlignMiddle);
|
Font::HAlignLeft, Font::VAlignMiddle);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user