diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-02-19 16:23:30 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-02-19 16:23:30 +0000 |
commit | ce51bc4b81f45424357ef8defe94fa43eb963823 (patch) | |
tree | 3ddab5e0e870c54e9024948eb8e2d1b0d39c4034 /apps/screens.c | |
parent | 7e1d36f35b7757c7d3482d973370e71a9dfc9504 (diff) |
overlooked warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6021 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.c')
-rw-r--r-- | apps/screens.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/screens.c b/apps/screens.c index 145d2bbaca..0efb30a806 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -43,6 +43,10 @@ #include "id3.h" #include "screens.h" #include "debug.h" +#include "led.h" +#ifdef HAVE_MMC +#include "ata_mmc.h" +#endif #ifdef HAVE_LCD_BITMAP #define BMPHEIGHT_usb_logo 32 @@ -111,9 +115,13 @@ void usb_screen(void) usb_display_info(); while(usb_wait_for_disconnect_w_tmo(&button_queue, HZ)) { if(usb_inserted()) { + #ifdef HAVE_MMC /* USB-MMC bridge can report activity */ + led(mmc_usb_active(HZ)); + #endif + status_draw(false); } } |