From ec844f8b6dbd0af6489661615dfb7aba3f251ad1 Mon Sep 17 00:00:00 2001 From: Avi Eisenberg <613ike@gmail.com> Date: Sun, 17 Aug 2014 21:56:08 -0400 Subject: Always unboost at exit Change-Id: I8b4a2d61a5f4491265888d84c0f2c684bcf38edb Reviewed-on: http://gerrit.rockbox.org/915 Reviewed-by: Jonathan Gordon --- apps/plugins/2048.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/plugins') diff --git a/apps/plugins/2048.c b/apps/plugins/2048.c index 9a74b0ff38..30f8899974 100644 --- a/apps/plugins/2048.c +++ b/apps/plugins/2048.c @@ -703,6 +703,9 @@ static void exit_handler(void) cleanup(); if(abnormal_exit) save_game(); +#ifdef HAVE_ADJUSTABLE_CPU_FREQ + rb->cpu_boost(false); /* back to idle */ +#endif return; } static bool check_hs; -- cgit v1.2.3