forked from len0rd/rockbox
Fix red in bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29508 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
84926583cf
commit
f96c254b76
1 changed files with 5 additions and 1 deletions
|
|
@ -33,7 +33,6 @@
|
|||
#include "usb.h"
|
||||
#include "powermgmt.h"
|
||||
#include "backlight.h"
|
||||
#include "bookmark.h"
|
||||
#include "lcd.h"
|
||||
#include "rtc.h"
|
||||
#if CONFIG_TUNER
|
||||
|
|
@ -48,6 +47,9 @@
|
|||
#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
|
||||
#include <time.h>
|
||||
#endif
|
||||
#ifndef BOOTLOADER
|
||||
#include "bookmark.h"
|
||||
#endif
|
||||
|
||||
#if (defined(IAUDIO_X5) || defined(IAUDIO_M5)) && !defined (SIMULATOR)
|
||||
#include "lcd-remote-target.h"
|
||||
|
|
@ -850,7 +852,9 @@ void handle_sleep_timer(void)
|
|||
#endif
|
||||
) {
|
||||
DEBUGF("Sleep timer timeout. Stopping...\n");
|
||||
#ifndef BOOTLOADER
|
||||
bookmark_autobookmark(false);
|
||||
#endif
|
||||
audio_stop();
|
||||
set_sleep_timer(0);
|
||||
backlight_off(); /* Nighty, nighty... */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue