1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-05 04:51:53 +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:
Maarten ter Huurne 2015-04-21 18:07:41 +02:00
parent 6418ff065f
commit 0d26a2a456

View File

@ -253,7 +253,7 @@ void Menu::paint(Surface &s) {
LinkApp *linkApp = selLinkApp();
if (linkApp) {
#ifdef ENABLE_CPUFREQ
s.write(&font, linkApp->clockStr(gmenu2x->confInt["maxClock"]),
font.write(s, linkApp->clockStr(gmenu2x->confInt["maxClock"]),
gmenu2x->cpuX, gmenu2x->bottomBarTextY,
Font::HAlignLeft, Font::VAlignMiddle);
#endif