Fixes for player/studio in USB mode: 1) Update status bar 2) Disable USB status once disconnected

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3043 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Hardeep Sidhu 2003-01-09 03:53:46 +00:00
parent 85d8b85de9
commit 12d1844084

View file

@ -92,6 +92,7 @@ void usb_display_info(void)
status_set_param(false);
status_set_audio(false);
status_set_usb(true);
status_draw();
#endif
}
@ -105,6 +106,10 @@ void usb_screen(void)
usb_display_info();
}
}
#ifdef HAVE_LCD_CHARCELLS
status_set_usb(false);
#endif
backlight_on();
#endif
}