1
0
Fork 0
forked from len0rd/rockbox

Check USB before resuming

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4266 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2004-01-20 22:39:32 +00:00
parent c0b90ec4d9
commit 989123006c

View file

@ -550,6 +550,11 @@ static bool ask_resume(bool ask_once)
lcd_double_height(false);
#endif
if (usb_detect()) {
usb_screen();
return false;
}
/* always resume? */
if ( global_settings.resume == RESUME_ON )
return true;