summaryrefslogtreecommitdiff
path: root/apps/plugins/test_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r--apps/plugins/test_codec.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index c35ca93..7adaa8e 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -867,8 +867,10 @@ show_menu:
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
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)
{
@@ -876,6 +878,8 @@ menu:
boost_settings, 2, NULL);
goto menu;
}
+ if(boost)
+ rb->cpu_boost(true);
#endif
if (result == QUIT)
@@ -884,11 +888,6 @@ menu:
goto exit;
}
-#ifdef HAVE_ADJUSTABLE_CPU_FREQ
- if(boost)
- rb->cpu_boost(true);
-#endif
-
scandir = 0;
if ((checksum = (result == CHECKSUM || result == CHECKSUM_DIR)))