summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/powermgmt.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index d9014dc..46d9938 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -47,9 +47,6 @@
#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"
@@ -803,10 +800,7 @@ static void handle_sleep_timer(void)
#endif
) {
DEBUGF("Sleep timer timeout. Stopping...\n");
-#ifndef BOOTLOADER
- bookmark_autobookmark(false);
-#endif
- audio_stop();
+ audio_pause();
set_sleep_timer(0);
backlight_off(); /* Nighty, nighty... */
}