summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-09-14 09:08:26 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-09-14 09:08:26 +0000
commit91216a5edc57431a94eebf7037bc72c5fe1a87dc (patch)
tree6bcf24a9f1d271975f44348cb6129ea7fe0ff817 /apps/main_menu.c
parent74353a7fe46c5d6973bffb2488f7c8276e088e80 (diff)
downloadrockbox-91216a5edc57431a94eebf7037bc72c5fe1a87dc.tar.gz
rockbox-91216a5edc57431a94eebf7037bc72c5fe1a87dc.zip
The power thread now monitors the shutdown process and forces a poweroff if it takes more than 8 seconds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index deaeb9b2ec..d8818a1115 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -299,7 +299,7 @@ bool info_menu(void)
299#ifdef HAVE_LCD_CHARCELLS 299#ifdef HAVE_LCD_CHARCELLS
300static bool do_shutdown(void) 300static bool do_shutdown(void)
301{ 301{
302 sys_poweroff(false); 302 sys_poweroff();
303 return false; 303 return false;
304} 304}
305#endif 305#endif