summaryrefslogtreecommitdiffstats
path: root/apps
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
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')
-rw-r--r--apps/main_menu.c2
-rw-r--r--apps/screens.c2
2 files changed, 2 insertions, 2 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)
#ifdef HAVE_LCD_CHARCELLS
static bool do_shutdown(void)
{
- sys_poweroff(false);
+ sys_poweroff();
return false;
}
#endif
diff --git a/apps/screens.c b/apps/screens.c
index bba5b279e2..b28432d1fd 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1259,7 +1259,7 @@ bool shutdown_screen(void)
switch(button)
{
case BUTTON_OFF:
- sys_poweroff(false);
+ sys_poweroff();
break;
default: