diff options
| author | Martin Scarratt <mmmm@rockbox.org> | 2006-08-20 21:33:40 +0000 |
|---|---|---|
| committer | Martin Scarratt <mmmm@rockbox.org> | 2006-08-20 21:33:40 +0000 |
| commit | c8bd9129bf146c3c0bbacc744ab509709a004fd7 (patch) | |
| tree | ecf927b6f31c94f12e073c0b9fbd1a144ecd83d3 /apps/recorder/peakmeter.c | |
| parent | 7847dde8cf00838de8ff75b8398ffbb1921baf8b (diff) | |
| download | rockbox-c8bd9129bf146c3c0bbacc744ab509709a004fd7.zip rockbox-c8bd9129bf146c3c0bbacc744ab509709a004fd7.tar.gz rockbox-c8bd9129bf146c3c0bbacc744ab509709a004fd7.tar.bz2 rockbox-c8bd9129bf146c3c0bbacc744ab509709a004fd7.tar.xz | |
Button action code for recording screen. Shouldnt make any noticable difference in recording screen button operation except for H300 I-River remote, which should now work as expected, -10 button = LCD off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10666 a1c6a512-1295-4272-9138-f99709370657
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 39444fe..0370f4d 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c @@ -37,6 +37,7 @@ #ifdef CONFIG_BACKLIGHT #include "backlight.h" #endif +#include "action.h" #if CONFIG_CODEC == SWCODEC #include "pcm_playback.h" @@ -1222,7 +1223,7 @@ int peak_meter_draw_get_btn(int x, int y[], int height, int nb_screens) bool dopeek = true; while (TIME_BEFORE(current_tick, next_big_refresh)) { - button = button_get(false); + button = get_action(CONTEXT_RECSCREEN, TIMEOUT_NOBLOCK); if (button != BUTTON_NONE) { break; } |