diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-09-14 09:08:26 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-09-14 09:08:26 +0000 |
| commit | 91216a5edc57431a94eebf7037bc72c5fe1a87dc (patch) | |
| tree | 6bcf24a9f1d271975f44348cb6129ea7fe0ff817 /apps | |
| parent | 74353a7fe46c5d6973bffb2488f7c8276e088e80 (diff) | |
| download | rockbox-91216a5edc57431a94eebf7037bc72c5fe1a87dc.zip rockbox-91216a5edc57431a94eebf7037bc72c5fe1a87dc.tar.gz rockbox-91216a5edc57431a94eebf7037bc72c5fe1a87dc.tar.bz2 rockbox-91216a5edc57431a94eebf7037bc72c5fe1a87dc.tar.xz | |
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.c | 2 | ||||
| -rw-r--r-- | apps/screens.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index deaeb9b..d8818a1 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 bba5b27..b28432d 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: |