summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-01-28 06:54:37 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-01-28 06:54:37 +0000
commit6f0f98da1d38b6604bca6fb42c0c31ce4c3b79e7 (patch)
treebb41d6746832ab5d323bf11c207617825b757c54 /apps/screen_access.c
parenta6bd83a31519370b9fe1229f9b2a7220dc8e6d7b (diff)
downloadrockbox-6f0f98da1d38b6604bca6fb42c0c31ce4c3b79e7.tar.gz
rockbox-6f0f98da1d38b6604bca6fb42c0c31ce4c3b79e7.tar.bz2
rockbox-6f0f98da1d38b6604bca6fb42c0c31ce4c3b79e7.zip
Fix remote backdrop crashes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24357 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 28dad06cfc..46b5168661 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -288,13 +288,11 @@ struct screen screens[NB_SCREENS] =
.backlight_off=&remote_backlight_off,
.is_backlight_on=&is_remote_backlight_on,
.backlight_set_timeout=&remote_backlight_set_timeout,
-
-#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
+
.backdrop_load=&remote_backdrop_load,
.backdrop_unload=&remote_backdrop_unload,
.backdrop_show=&remote_backdrop_show,
.backdrop_hide=&remote_backdrop_hide,
-#endif
#ifdef HAVE_BUTTONBAR
.has_buttonbar=false,
#endif