diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index c35ca93a3c..7adaa8ea1c 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)))