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:
Thomas Jarosch 2011-03-10 16:13:11 +00:00
parent 98cf1a14b0
commit e303c80533

View file

@ -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 */
}
/*