forked from len0rd/rockbox
sorry, the patch broke all the sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6225 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3644fa2824
commit
853bc3dcf8
1 changed files with 7 additions and 0 deletions
|
|
@ -94,6 +94,11 @@ void set_car_adapter_mode(bool setting)
|
||||||
(void)setting;
|
(void)setting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void reset_poweroff_timer(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#else /* not SIMULATOR ******************************************************/
|
#else /* not SIMULATOR ******************************************************/
|
||||||
|
|
||||||
static const int poweroff_idle_timeout_value[15] =
|
static const int poweroff_idle_timeout_value[15] =
|
||||||
|
|
@ -908,6 +913,7 @@ void powermgmt_init(void)
|
||||||
/* Various hardware housekeeping tasks relating to shutting down the jukebox */
|
/* Various hardware housekeeping tasks relating to shutting down the jukebox */
|
||||||
void shutdown_hw(void)
|
void shutdown_hw(void)
|
||||||
{
|
{
|
||||||
|
#ifndef SIMULATOR
|
||||||
#if defined(DEBUG_FILE) && defined(HAVE_CHARGE_CTRL)
|
#if defined(DEBUG_FILE) && defined(HAVE_CHARGE_CTRL)
|
||||||
if(fd >= 0) {
|
if(fd >= 0) {
|
||||||
close(fd);
|
close(fd);
|
||||||
|
|
@ -930,4 +936,5 @@ void shutdown_hw(void)
|
||||||
lcd_set_contrast(0);
|
lcd_set_contrast(0);
|
||||||
#endif
|
#endif
|
||||||
power_off();
|
power_off();
|
||||||
|
#endif /* #ifndef SIMULATOR */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue