diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-10 04:46:52 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-10 04:46:52 +0000 |
commit | 29e28a3945b99ec19703848c8337ea406d99bfd6 (patch) | |
tree | a168102a7c55a1be32516d50e995adbc2481c2eb /apps/main.c | |
parent | dd93ef41bb9a75e92b664b97bc34f2bcf17edcde (diff) | |
download | rockbox-29e28a3945b99ec19703848c8337ea406d99bfd6.tar.gz rockbox-29e28a3945b99ec19703848c8337ea406d99bfd6.zip |
hopefully fix "early usb"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23599 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c index 1eed068f14..e5349ae4bf 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -496,7 +496,7 @@ static void init(void) | |||
496 | (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) | 496 | (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) |
497 | #endif | 497 | #endif |
498 | { | 498 | { |
499 | gui_usb_screen_run(); | 499 | gui_usb_screen_run(true); |
500 | mounted = true; /* mounting done @ end of USB mode */ | 500 | mounted = true; /* mounting done @ end of USB mode */ |
501 | } | 501 | } |
502 | #ifdef HAVE_USB_POWER | 502 | #ifdef HAVE_USB_POWER |
@@ -521,7 +521,7 @@ static void init(void) | |||
521 | lcd_update(); | 521 | lcd_update(); |
522 | 522 | ||
523 | while(button_get(true) != SYS_USB_CONNECTED) {}; | 523 | while(button_get(true) != SYS_USB_CONNECTED) {}; |
524 | gui_usb_screen_run(); | 524 | gui_usb_screen_run(true); |
525 | system_reboot(); | 525 | system_reboot(); |
526 | } | 526 | } |
527 | } | 527 | } |