mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-28 00:06:20 -04:00
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;
|
last_event_tick = current_tick;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !(CONFIG_PLATFORM & PLATFORM_HOSTED)
|
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0)
|
||||||
if (!shutdown_timeout && query_force_shutdown()) {
|
if (!shutdown_timeout && query_force_shutdown()) {
|
||||||
backlight_on();
|
backlight_on();
|
||||||
sys_poweroff();
|
sys_poweroff();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue