diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-05-21 21:49:04 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-05-21 21:49:04 +0000 |
| commit | e85acf10c8c12cf388c4a55a9cdd97af4b106882 (patch) | |
| tree | 54db17d0ba7c2576bc96c2741c0cd75912d4a04c | |
| parent | ef0fe8538bb5b791922f763a028c83d84c96a8c7 (diff) | |
| download | rockbox-e85acf10c8c12cf388c4a55a9cdd97af4b106882.zip rockbox-e85acf10c8c12cf388c4a55a9cdd97af4b106882.tar.gz rockbox-e85acf10c8c12cf388c4a55a9cdd97af4b106882.tar.bz2 rockbox-e85acf10c8c12cf388c4a55a9cdd97af4b106882.tar.xz | |
The USB monitoring started before the ATA thread, leading to badness when Rockbox was started from flash with the USB cable inserted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4685 a1c6a512-1295-4272-9138-f99709370657
| -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 7fdd30b..042d3a8 100644 --- a/apps/main.c +++ b/apps/main.c @@ -153,8 +153,6 @@ void init(void) (void)coldstart; #endif - usb_start_monitoring(); - rc = ata_init(); if(rc) { @@ -171,6 +169,8 @@ void init(void) panicf("ata: %d", rc); } + usb_start_monitoring(); + pinfo = disk_init(); if (!pinfo) panicf("disk: NULL"); |