diff options
author | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2020-05-19 00:21:41 +0200 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-05-24 13:43:30 +0200 |
commit | 2eb15354b75bfa95e94c7a8d0f2db540b19fcd77 (patch) | |
tree | c656bff8495dba996f6cf24a042b37fc12a13cca | |
parent | ea9ed2f9e81f050d382cea795419e8f550c7bc89 (diff) | |
download | rockbox-2eb1535.tar.gz rockbox-2eb1535.zip |
fix plugin test_boost not properly unboosting
Change-Id: Ib33bb58fc7006c03caa692c377860bfdf463298e
-rw-r--r-- | apps/plugins/test_boost.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/test_boost.c b/apps/plugins/test_boost.c index ec91206d1e..b4beb5161a 100644 --- a/apps/plugins/test_boost.c +++ b/apps/plugins/test_boost.c @@ -72,6 +72,12 @@ enum plugin_status plugin_start(const void* parameter) break; #endif case ACTION_STD_CANCEL: +#ifdef HAVE_ADJUSTABLE_CPU_FREQ + if (boost) + { + rb->cpu_boost(false); + } +#endif done = true; break; } |