diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-04-16 17:32:54 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-04-16 17:32:54 +0000 |
commit | 3b3134610348a56bbf25cfd256b0f36908d0d752 (patch) | |
tree | 5c6d01c180ba7ecfc33816655c60943fcf287558 /firmware/powermgmt.c | |
parent | caec58bc0fff3672180a1f643be1cbbe09bc008b (diff) |
Commit tagcache in background when possible (at least dircache enabled).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9686 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 4c6db6d44c..15977caed6 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -1019,6 +1019,12 @@ void sys_poweroff(void) queue_post(&button_queue, SYS_POWEROFF, NULL); } +void cancel_shutdown(void) +{ + logf("sys_cancel_shutdown()"); + shutdown_timeout = 0; +} + /* Various hardware housekeeping tasks relating to shutting down the jukebox */ void shutdown_hw(void) { |