diff options
Diffstat (limited to 'apps/recorder/peakmeter.c')
-rw-r--r-- | apps/recorder/peakmeter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c index 39444fe787..0370f4deea 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #ifdef CONFIG_BACKLIGHT | 37 | #ifdef CONFIG_BACKLIGHT |
38 | #include "backlight.h" | 38 | #include "backlight.h" |
39 | #endif | 39 | #endif |
40 | #include "action.h" | ||
40 | 41 | ||
41 | #if CONFIG_CODEC == SWCODEC | 42 | #if CONFIG_CODEC == SWCODEC |
42 | #include "pcm_playback.h" | 43 | #include "pcm_playback.h" |
@@ -1222,7 +1223,7 @@ int peak_meter_draw_get_btn(int x, int y[], int height, int nb_screens) | |||
1222 | bool dopeek = true; | 1223 | bool dopeek = true; |
1223 | 1224 | ||
1224 | while (TIME_BEFORE(current_tick, next_big_refresh)) { | 1225 | while (TIME_BEFORE(current_tick, next_big_refresh)) { |
1225 | button = button_get(false); | 1226 | button = get_action(CONTEXT_RECSCREEN, TIMEOUT_NOBLOCK); |
1226 | if (button != BUTTON_NONE) { | 1227 | if (button != BUTTON_NONE) { |
1227 | break; | 1228 | break; |
1228 | } | 1229 | } |