ypr0: Fix power off at low battery.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31520 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2012-01-02 14:11:07 +00:00
parent 0f4dda78e2
commit 263b080b3b

View file

@ -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();