summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2005-02-19 16:23:30 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2005-02-19 16:23:30 +0000
commitce51bc4b81f45424357ef8defe94fa43eb963823 (patch)
tree3ddab5e0e870c54e9024948eb8e2d1b0d39c4034 /apps/screens.c
parent7e1d36f35b7757c7d3482d973370e71a9dfc9504 (diff)
downloadrockbox-ce51bc4b81f45424357ef8defe94fa43eb963823.tar.gz
rockbox-ce51bc4b81f45424357ef8defe94fa43eb963823.zip
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.c8
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 @@
43#include "id3.h" 43#include "id3.h"
44#include "screens.h" 44#include "screens.h"
45#include "debug.h" 45#include "debug.h"
46#include "led.h"
47#ifdef HAVE_MMC
48#include "ata_mmc.h"
49#endif
46 50
47#ifdef HAVE_LCD_BITMAP 51#ifdef HAVE_LCD_BITMAP
48#define BMPHEIGHT_usb_logo 32 52#define BMPHEIGHT_usb_logo 32
@@ -111,9 +115,13 @@ void usb_screen(void)
111 usb_display_info(); 115 usb_display_info();
112 while(usb_wait_for_disconnect_w_tmo(&button_queue, HZ)) { 116 while(usb_wait_for_disconnect_w_tmo(&button_queue, HZ)) {
113 if(usb_inserted()) { 117 if(usb_inserted()) {
118
114#ifdef HAVE_MMC /* USB-MMC bridge can report activity */ 119#ifdef HAVE_MMC /* USB-MMC bridge can report activity */
120
115 led(mmc_usb_active(HZ)); 121 led(mmc_usb_active(HZ));
122
116#endif 123#endif
124
117 status_draw(false); 125 status_draw(false);
118 } 126 }
119 } 127 }