diff options
-rw-r--r-- | apps/action.c | 4 | ||||
-rw-r--r-- | firmware/export/config/sansaclipplus.h | 2 | ||||
-rw-r--r-- | firmware/export/config/sansaclipv2.h | 2 | ||||
-rw-r--r-- | firmware/export/config/sansaclipzip.h | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/apps/action.c b/apps/action.c index 856bc0810c..eae00f5d18 100644 --- a/apps/action.c +++ b/apps/action.c | |||
@@ -224,9 +224,7 @@ static int get_action_worker(int context, int timeout, | |||
224 | static struct timeout gui_unboost; | 224 | static struct timeout gui_unboost; |
225 | /* Boost the CPU in case of wheel scrolling activity in the defined contexts. | 225 | /* Boost the CPU in case of wheel scrolling activity in the defined contexts. |
226 | * Call unboost with a timeout of GUI_BOOST_TIMEOUT. */ | 226 | * Call unboost with a timeout of GUI_BOOST_TIMEOUT. */ |
227 | if ((button&(BUTTON_SCROLL_BACK|BUTTON_SCROLL_FWD)) && | 227 | if (button != BUTTON_NONE) |
228 | (context == CONTEXT_STD || context == CONTEXT_LIST || | ||
229 | context == CONTEXT_MAINMENU || context == CONTEXT_TREE)) | ||
230 | { | 228 | { |
231 | gui_boost(true); | 229 | gui_boost(true); |
232 | timeout_register(&gui_unboost, gui_unboost_callback, GUI_BOOST_TIMEOUT, 0); | 230 | timeout_register(&gui_unboost, gui_unboost_callback, GUI_BOOST_TIMEOUT, 0); |
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h index e9ebf02f85..6b84faabd4 100644 --- a/firmware/export/config/sansaclipplus.h +++ b/firmware/export/config/sansaclipplus.h | |||
@@ -97,6 +97,8 @@ | |||
97 | /* define this if the target has volume keys which can be used in the lists */ | 97 | /* define this if the target has volume keys which can be used in the lists */ |
98 | #define HAVE_VOLUME_IN_LIST | 98 | #define HAVE_VOLUME_IN_LIST |
99 | 99 | ||
100 | #define HAVE_GUI_BOOST | ||
101 | |||
100 | /* Define this if you do software codec */ | 102 | /* Define this if you do software codec */ |
101 | #define CONFIG_CODEC SWCODEC | 103 | #define CONFIG_CODEC SWCODEC |
102 | /* There is no hardware tone control */ | 104 | /* There is no hardware tone control */ |
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h index d163d116cf..5f6d195810 100644 --- a/firmware/export/config/sansaclipv2.h +++ b/firmware/export/config/sansaclipv2.h | |||
@@ -93,6 +93,8 @@ | |||
93 | /* define this if the target has volume keys which can be used in the lists */ | 93 | /* define this if the target has volume keys which can be used in the lists */ |
94 | #define HAVE_VOLUME_IN_LIST | 94 | #define HAVE_VOLUME_IN_LIST |
95 | 95 | ||
96 | #define HAVE_GUI_BOOST | ||
97 | |||
96 | /* Define this if you do software codec */ | 98 | /* Define this if you do software codec */ |
97 | #define CONFIG_CODEC SWCODEC | 99 | #define CONFIG_CODEC SWCODEC |
98 | /* There is no hardware tone control */ | 100 | /* There is no hardware tone control */ |
diff --git a/firmware/export/config/sansaclipzip.h b/firmware/export/config/sansaclipzip.h index 1f6307865a..b028dadb75 100644 --- a/firmware/export/config/sansaclipzip.h +++ b/firmware/export/config/sansaclipzip.h | |||
@@ -92,6 +92,8 @@ | |||
92 | /* define this if the target has volume keys which can be used in the lists */ | 92 | /* define this if the target has volume keys which can be used in the lists */ |
93 | #define HAVE_VOLUME_IN_LIST | 93 | #define HAVE_VOLUME_IN_LIST |
94 | 94 | ||
95 | #define HAVE_GUI_BOOST | ||
96 | |||
95 | /* Define this if you do software codec */ | 97 | /* Define this if you do software codec */ |
96 | #define CONFIG_CODEC SWCODEC | 98 | #define CONFIG_CODEC SWCODEC |
97 | /* There is no hardware tone control */ | 99 | /* There is no hardware tone control */ |