diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-05-17 22:10:51 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-05-17 22:10:51 +0000 |
commit | 27abc2a6411ac6f864529ff3783c8009e43074d0 (patch) | |
tree | 84dda92347a7a7b671a547e2e75851ca3d3a99e0 /apps/tree.c | |
parent | 32be590e6db3e2c2bcdcc16d89bad22135bd9058 (diff) |
(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
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/tree.c b/apps/tree.c index c7ff7326fb..a49fb9b3ab 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -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); |