summaryrefslogtreecommitdiffstats
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-04-11 07:23:56 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-04-11 07:23:56 +0000
commit5449b1ed1d241ad4bdbe5dd2cd8c65ecbfa5b6b1 (patch)
tree39c7a041edb844c30aea93333818e80d7b46af9b /apps/menus/display_menu.c
parent9f19f33c418aa2703c3c83f0f7ba72a76d21d0c0 (diff)
downloadrockbox-5449b1ed1d241ad4bdbe5dd2cd8c65ecbfa5b6b1.tar.gz
rockbox-5449b1ed1d241ad4bdbe5dd2cd8c65ecbfa5b6b1.tar.bz2
rockbox-5449b1ed1d241ad4bdbe5dd2cd8c65ecbfa5b6b1.zip
M:Robe 500: Start of proper remote support, touchscreen works without remote now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20684 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index 60ed71cbd0..e5baf8ac1e 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -182,9 +182,11 @@ MENUITEM_SETTING(remote_contrast,
&global_settings.remote_contrast, NULL);
MENUITEM_SETTING(remote_invert,
&global_settings.remote_invert, NULL);
-
+
+#ifdef HAVE_LCD_FLIP
MENUITEM_SETTING(remote_flip_display,
&global_settings.remote_flip_display, flipdisplay_callback);
+#endif
#ifdef HAVE_REMOTE_LCD_TICKING
static int ticking_callback(int action,const struct menu_item_ex *this_item)
@@ -212,7 +214,11 @@ MAKE_MENU(lcd_remote_settings, ID2P(LANG_LCD_REMOTE_MENU),
&remote_backlight_on_button_hold,
#endif
&remote_caption_backlight, &remote_bl_filter_first_keypress,
- &remote_contrast, &remote_invert, &remote_flip_display
+ &remote_contrast, &remote_invert
+
+#ifdef HAVE_LCD_FLIP
+ ,&remote_flip_display
+#endif
#ifdef HAVE_REMOTE_LCD_TICKING
,&remote_reduce_ticking
#endif