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:
parent
0f4dda78e2
commit
263b080b3b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue