Fix mistake on targets without frequency scaling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28638 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7094181157
commit
3f932318e2
1 changed files with 5 additions and 6 deletions
|
@ -867,8 +867,10 @@ show_menu:
|
||||||
|
|
||||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||||
menu:
|
menu:
|
||||||
result = rb->do_menu(&menu, &selection, NULL, false);
|
#endif
|
||||||
|
|
||||||
|
result = rb->do_menu(&menu, &selection, NULL, false);
|
||||||
|
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||||
|
|
||||||
if (result == BOOST)
|
if (result == BOOST)
|
||||||
{
|
{
|
||||||
|
@ -876,6 +878,8 @@ menu:
|
||||||
boost_settings, 2, NULL);
|
boost_settings, 2, NULL);
|
||||||
goto menu;
|
goto menu;
|
||||||
}
|
}
|
||||||
|
if(boost)
|
||||||
|
rb->cpu_boost(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (result == QUIT)
|
if (result == QUIT)
|
||||||
|
@ -884,11 +888,6 @@ menu:
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
|
||||||
if(boost)
|
|
||||||
rb->cpu_boost(true);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
scandir = 0;
|
scandir = 0;
|
||||||
|
|
||||||
if ((checksum = (result == CHECKSUM || result == CHECKSUM_DIR)))
|
if ((checksum = (result == CHECKSUM || result == CHECKSUM_DIR)))
|
||||||
|
|
Loading…
Reference in a new issue