diff options
Diffstat (limited to 'apps/recorder/peakmeter.c')
-rw-r--r-- | apps/recorder/peakmeter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c index 3e85fd5509..9014e5c351 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c | |||
@@ -1318,7 +1318,8 @@ void peak_meter_draw_trig(int xpos[], int ypos[], int trig_width[], int nb_scree | |||
1318 | } | 1318 | } |
1319 | #endif | 1319 | #endif |
1320 | 1320 | ||
1321 | int peak_meter_draw_get_btn(int x, int y[], int height, int nb_screens) | 1321 | int peak_meter_draw_get_btn(int action_context, int x, int y[], |
1322 | int height, int nb_screens) | ||
1322 | { | 1323 | { |
1323 | int button = BUTTON_NONE; | 1324 | int button = BUTTON_NONE; |
1324 | long next_refresh = current_tick; | 1325 | long next_refresh = current_tick; |
@@ -1337,7 +1338,7 @@ int peak_meter_draw_get_btn(int x, int y[], int height, int nb_screens) | |||
1337 | bool dopeek = true; | 1338 | bool dopeek = true; |
1338 | 1339 | ||
1339 | while (TIME_BEFORE(current_tick, next_big_refresh)) { | 1340 | while (TIME_BEFORE(current_tick, next_big_refresh)) { |
1340 | button = get_action(CONTEXT_RECSCREEN, TIMEOUT_NOBLOCK); | 1341 | button = get_action(action_context, TIMEOUT_NOBLOCK); |
1341 | if (button != BUTTON_NONE) { | 1342 | if (button != BUTTON_NONE) { |
1342 | break; | 1343 | break; |
1343 | } | 1344 | } |