summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-02-06 20:30:58 +0000
committerNils Wallménius <nils@rockbox.org>2007-02-06 20:30:58 +0000
commit28a88946569fef21fa56f28afc0c404c57a9eb7e (patch)
tree661de38f016eb12f9ac9a630de72103ba0acb926 /apps
parent2f4521ea9ea3b160c256afb0d210eb8028c8ce5b (diff)
downloadrockbox-28a88946569fef21fa56f28afc0c404c57a9eb7e.zip
rockbox-28a88946569fef21fa56f28afc0c404c57a9eb7e.tar.gz
rockbox-28a88946569fef21fa56f28afc0c404c57a9eb7e.tar.bz2
rockbox-28a88946569fef21fa56f28afc0c404c57a9eb7e.tar.xz
Ifdef some remote lcd code in the recording screen that is not used for non lcd remote targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12214 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/recording.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 3ec1446..a4662ab 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -80,7 +80,9 @@ static bool f3_rec_screen(void);
#define MAX_FILE_SIZE 0x7F800000 /* 2 GB - 4 MB */
static int screen_update = NB_SCREENS;
+#ifdef HAVE_REMOTE_LCD
static bool remote_display_on = true;
+#endif
/** File name creation **/
#if CONFIG_CODEC == SWCODEC
@@ -851,7 +853,7 @@ bool recording_screen(bool no_source)
if(rec_create_directory() > 0)
have_recorded = true;
-
+#ifdef HAVE_REMOTE_LCD
if (!remote_display_on)
{
screens[1].clear_display();
@@ -861,6 +863,7 @@ bool recording_screen(bool no_source)
screens[1].update();
gui_syncsplash(0, true, str(LANG_REMOTE_LCD_OFF));
}
+#endif
while(!done)
{
@@ -927,6 +930,7 @@ bool recording_screen(bool no_source)
switch(button)
{
+#ifdef HAVE_REMOTE_LCD
case ACTION_REC_LCD:
if (remote_display_on)
{
@@ -945,7 +949,7 @@ bool recording_screen(bool no_source)
screen_update = NB_SCREENS;
}
break;
-
+#endif
case ACTION_STD_CANCEL:
/* turn off the trigger */
peak_meter_trigger(false);