diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-02 14:11:07 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-02 14:11:07 +0000 |
commit | 263b080b3b3742bca34ea4fe826d8ffc427df831 (patch) | |
tree | 9de59e1dee5ade66a0be4db832d435e163088100 /firmware/powermgmt.c | |
parent | 0f4dda78e251e985d6d7ce3e42091d7f8fb92d5a (diff) |
ypr0: Fix power off at low battery.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31520 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 6027414b71..008e4a45cb 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -855,7 +855,7 @@ void handle_auto_poweroff(void) last_event_tick = current_tick; } -#if !(CONFIG_PLATFORM & PLATFORM_HOSTED) +#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0) if (!shutdown_timeout && query_force_shutdown()) { backlight_on(); sys_poweroff(); |