From ee7dfb526e3b2496e0aff366456fb6c1668e6e17 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sat, 14 May 2016 23:10:24 +0200 Subject: [PATCH] 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 --- apps/plugins/test_codec.c | 2 ++ 1 file changed, 2 insertions(+) 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: #ifdef HAVE_ADJUSTABLE_CPU_FREQ if (boost) rb->cpu_boost(true); + else + rb->cpu_boost(false); /*force unboost at start to be safe*/ #endif if (scandir) {