summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-11-20 01:02:14 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-11-20 01:02:14 +0000
commit1a1abf25f43e33dfa7d421d6c43f283763226dbd (patch)
tree71e57b7c1f5d3c2521fbf2215e938b55fe77bb99 /apps/screen_access.c
parente3367212bd8a25cfe6468aa20adaacf4c5b0b2d4 (diff)
downloadrockbox-1a1abf25f43e33dfa7d421d6c43f283763226dbd.tar.gz
rockbox-1a1abf25f43e33dfa7d421d6c43f283763226dbd.tar.bz2
rockbox-1a1abf25f43e33dfa7d421d6c43f283763226dbd.zip
removed old statusbar and buttonbar code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8004 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 6bceb1747e..db64e27199 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -38,6 +38,8 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
#ifdef HAVE_REMOTE_LCD
case SCREEN_REMOTE:
screen->depth=LCD_REMOTE_DEPTH;
+ screen->has_disk_led=false;
+
#if 1 /* all remote LCDs are bitmapped so far */
screen->width=LCD_REMOTE_WIDTH;
screen->height=LCD_REMOTE_HEIGHT;
@@ -87,13 +89,17 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->clear_display=&lcd_remote_clear_display;
screen->update=&lcd_remote_update;
screen->puts=&lcd_remote_puts;
-
break;
#endif /* HAVE_REMOTE_LCD */
case SCREEN_MAIN:
default:
screen->depth=LCD_DEPTH;
+#if CONFIG_LED == LED_VIRTUAL
+ screen->has_disk_led=false;
+#else
+ screen->has_disk_led=true;
+#endif
#ifdef HAVE_LCD_BITMAP
screen->width=LCD_WIDTH;
screen->height=LCD_HEIGHT;