summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-01-27 06:47:56 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-01-27 06:47:56 +0000
commit2565389402662a5f29c0c00eb1db3d80b1f37478 (patch)
tree730e8276753414fc1984a3edbdad7529e058f558 /apps/screen_access.c
parent27b8b73b86ecf648a15e9793cd8893ca49734cfb (diff)
downloadrockbox-2565389402662a5f29c0c00eb1db3d80b1f37478.tar.gz
rockbox-2565389402662a5f29c0c00eb1db3d80b1f37478.tar.bz2
rockbox-2565389402662a5f29c0c00eb1db3d80b1f37478.zip
futile attempt to keep the ondioSP rombox working. This will almost certainly be the last release with it. (The backdrop API is chaning very soon after release so this is no big deal)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24340 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 8267ce3ecd..775dc50d5f 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -199,10 +199,12 @@ struct screen screens[NB_SCREENS] =
.backlight_off=&backlight_off,
.is_backlight_on=&is_backlight_on,
.backlight_set_timeout=&backlight_set_timeout,
+#if LCD_DEPTH > 1
.backdrop_load=&backdrop_load,
.backdrop_unload=&backdrop_unload,
.backdrop_show=&backdrop_show,
.backdrop_hide=&backdrop_hide,
+#endif
#ifdef HAVE_BUTTONBAR
.has_buttonbar=false,
#endif
@@ -286,10 +288,12 @@ 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 LCD_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