summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-07-18 10:34:18 +0200
committerThomas Martitz <kugel@rockbox.org>2012-07-18 10:34:18 +0200
commita76de79b06d14fba87b590cdfc2e4842a2167dae (patch)
treee9a6174fd25e4e1e3fd0e1d1e2a6269910625b10 /uisimulator
parent15775c8badac65ad9d7477a1706c019703c15b47 (diff)
downloadrockbox-a76de79b06d14fba87b590cdfc2e4842a2167dae.tar.gz
rockbox-a76de79b06d14fba87b590cdfc2e4842a2167dae.tar.bz2
rockbox-a76de79b06d14fba87b590cdfc2e4842a2167dae.zip
Call call_storage_idle_notifys() to make storage idle callbacks work in
the sim. Change-Id: I40cdf0fd8881a6041b116a687602e231097ba732
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index fdacc59069..933e801bd9 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -270,6 +270,8 @@ static ssize_t io_trigger_and_wait(enum io_dir cmd)
result = -1;
}
+ call_storage_idle_notifys(false);
+
/* Regain our status as current */
if (mythread != NULL)
{