diff options
Diffstat (limited to 'apps/plugins/test_mem.c')
-rw-r--r-- | apps/plugins/test_mem.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c index b38a454c33..80995c9bfb 100644 --- a/apps/plugins/test_mem.c +++ b/apps/plugins/test_mem.c | |||
@@ -72,7 +72,8 @@ enum plugin_status plugin_start(const void* parameter) | |||
72 | int button = rb->button_get(false); | 72 | int button = rb->button_get(false); |
73 | switch (button) | 73 | switch (button) |
74 | { | 74 | { |
75 | case BUTTON_UP: | 75 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
76 | case ACTION_STD_PREV: | ||
76 | if (!boost) | 77 | if (!boost) |
77 | { | 78 | { |
78 | rb->cpu_boost(true); | 79 | rb->cpu_boost(true); |
@@ -80,15 +81,15 @@ enum plugin_status plugin_start(const void* parameter) | |||
80 | } | 81 | } |
81 | break; | 82 | break; |
82 | 83 | ||
83 | case BUTTON_DOWN: | 84 | case ACTION_STD_NEXT: |
84 | if (boost) | 85 | if (boost) |
85 | { | 86 | { |
86 | rb->cpu_boost(false); | 87 | rb->cpu_boost(false); |
87 | boost = false; | 88 | boost = false; |
88 | } | 89 | } |
89 | break; | 90 | break; |
90 | 91 | #endif | |
91 | case BUTTON_LEFT: | 92 | case ACTION_STD_CANCEL: |
92 | done = true; | 93 | done = true; |
93 | break; | 94 | break; |
94 | } | 95 | } |