diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2016-05-14 23:10:24 +0200 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2016-05-14 23:11:52 +0200 |
commit | ee7dfb526e3b2496e0aff366456fb6c1668e6e17 (patch) | |
tree | d90df01a6d7e67b4c7fb3e7b9cc5379f5773020a | |
parent | 9a4cd2eaee7d389f2fa6e0d79f0f6ea526f7ef85 (diff) | |
download | rockbox-ee7dfb526e3b2496e0aff366456fb6c1668e6e17.tar.gz rockbox-ee7dfb526e3b2496e0aff366456fb6c1668e6e17.zip |
Manually unboost if not using boost in test_codec
Right now GUI boost interfers with test_codec running unboosted
by varying the CPU frequency. This at least makes it more consistent
if run without user input.
Change-Id: I121615098d6bd72ccd13c4e665cc2e4d45d7b58c
-rw-r--r-- | apps/plugins/test_codec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 0b409f8e35..78f8dd61a8 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c | |||
@@ -969,6 +969,8 @@ menu: | |||
969 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 969 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
970 | if (boost) | 970 | if (boost) |
971 | rb->cpu_boost(true); | 971 | rb->cpu_boost(true); |
972 | else | ||
973 | rb->cpu_boost(false); /*force unboost at start to be safe*/ | ||
972 | #endif | 974 | #endif |
973 | 975 | ||
974 | if (scandir) { | 976 | if (scandir) { |