summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-06-06 13:20:47 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-06-06 13:20:47 +0000
commit9c43b2ce17cbc1f88b825ab8a5021575cee46dd7 (patch)
tree8d96e95861b3b0df1a7efa6b660395c317ecb475 /apps
parent4a2cab6aa1008a4f5ac05dac44c99b7f1a05e8f4 (diff)
downloadrockbox-9c43b2ce17cbc1f88b825ab8a5021575cee46dd7.tar.gz
rockbox-9c43b2ce17cbc1f88b825ab8a5021575cee46dd7.tar.bz2
rockbox-9c43b2ce17cbc1f88b825ab8a5021575cee46dd7.zip
Remove card_enable_monitoring() and use a mutex instead. The card_enable_monitoring() method actually didn't eliminate the possible race conditions it was meant to fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26627 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index e8043a79d4..f8dddcd9ae 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -342,6 +342,7 @@ static void init(void)
sb_skin_init();
viewportmanager_init();
+ disk_init_subsystem();
storage_init();
settings_reset();
settings_load(SETTINGS_ALL);
@@ -506,6 +507,8 @@ static void init(void)
}
#endif
+
+ disk_init_subsystem();
CHART(">storage_init");
rc = storage_init();
CHART("<storage_init");