1
0
Fork 0
forked from len0rd/rockbox

(1) Early USB detection on boot, before trying to mount the partitions. Cleaner & quicker; removes the need for the extra USB check at the top of ask_resume() which caused a deadlock in screenshot mode (see patch #1110332). On Ondio, this allows to leave an MMC in the slot when booting with USB connected for instant access. (2) Ondio: Track MMC status, only ask to remove the card if required. Probe MMC status if unknown.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6488 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-05-17 22:10:51 +00:00
parent 32be590e6d
commit 27abc2a641
6 changed files with 64 additions and 21 deletions

View file

@ -434,11 +434,6 @@ static bool ask_resume(bool ask_once)
lcd_double_height(false);
#endif
if (usb_detect()) {
default_event_handler(SYS_USB_CONNECTED);
return false;
}
#ifdef HAVE_ALARM_MOD
if ( rtc_check_alarm_started(true) ) {
rtc_enable_alarm(false);