From 6e80ac39a5a3e7091c14db19cac791c9ddb8849f Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 5 Jul 2005 00:03:18 +0000 Subject: New poweroff handling, using the SYS_POWEROFF event, allowing plugins to save their settings before powering off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7019 a1c6a512-1295-4272-9138-f99709370657 --- apps/screens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/screens.c') diff --git a/apps/screens.c b/apps/screens.c index e188d341d8..6d9b299c54 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -1253,7 +1253,7 @@ bool shutdown_screen(void) switch(button) { case BUTTON_OFF: - clean_shutdown(); + sys_poweroff(false); break; default: -- cgit v1.2.3