overlooked warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6021 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7e1d36f35b
commit
ce51bc4b81
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue