From e033d7cea7d01db72bca2590fdd3658fd173d12b Mon Sep 17 00:00:00 2001 From: Christi Scarborough Date: Sun, 6 Feb 2005 10:14:50 +0000 Subject: fix warnings / sim build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5815 a1c6a512-1295-4272-9138-f99709370657 --- firmware/powermgmt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 91b09aa555..286d7e41d6 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -31,6 +31,7 @@ #include "button.h" #include "ata.h" #include "mpeg.h" +#include "mp3_playback.h" #include "usb.h" #include "powermgmt.h" #include "backlight.h" @@ -875,6 +876,7 @@ void powermgmt_init(void) #endif /* SIMULATOR */ void shutdown_hw(void) { +#ifndef SIMULATOR mpeg_stop(); ata_flush(); ata_spindown(1); @@ -888,4 +890,5 @@ void shutdown_hw(void) { lcd_set_contrast(0); #endif power_off(); +#endif } -- cgit v1.2.3