Don't compile handle_sleep_timer() code for the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29556 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
98cf1a14b0
commit
e303c80533
1 changed files with 2 additions and 0 deletions
|
@ -789,6 +789,7 @@ int get_sleep_timer(void)
|
|||
|
||||
static void handle_sleep_timer(void)
|
||||
{
|
||||
#ifndef BOOTLOADER
|
||||
if (!sleeptimer_active)
|
||||
return;
|
||||
|
||||
|
@ -809,6 +810,7 @@ static void handle_sleep_timer(void)
|
|||
sys_poweroff();
|
||||
}
|
||||
}
|
||||
#endif /* BOOTLOADER */
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue