diff options
author | Christi Scarborough <christi@coraline.org> | 2005-02-06 10:14:50 +0000 |
---|---|---|
committer | Christi Scarborough <christi@coraline.org> | 2005-02-06 10:14:50 +0000 |
commit | e033d7cea7d01db72bca2590fdd3658fd173d12b (patch) | |
tree | 9ab0b00d86c00a7d068f345bfcc7c6dff6ddb757 | |
parent | 247fe6d698f244123ecde9d9971e74ee99504e9e (diff) | |
download | rockbox-e033d7cea7d01db72bca2590fdd3658fd173d12b.tar.gz rockbox-e033d7cea7d01db72bca2590fdd3658fd173d12b.zip |
fix warnings / sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5815 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/powermgmt.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
31 | #include "button.h" | 31 | #include "button.h" |
32 | #include "ata.h" | 32 | #include "ata.h" |
33 | #include "mpeg.h" | 33 | #include "mpeg.h" |
34 | #include "mp3_playback.h" | ||
34 | #include "usb.h" | 35 | #include "usb.h" |
35 | #include "powermgmt.h" | 36 | #include "powermgmt.h" |
36 | #include "backlight.h" | 37 | #include "backlight.h" |
@@ -875,6 +876,7 @@ void powermgmt_init(void) | |||
875 | #endif /* SIMULATOR */ | 876 | #endif /* SIMULATOR */ |
876 | 877 | ||
877 | void shutdown_hw(void) { | 878 | void shutdown_hw(void) { |
879 | #ifndef SIMULATOR | ||
878 | mpeg_stop(); | 880 | mpeg_stop(); |
879 | ata_flush(); | 881 | ata_flush(); |
880 | ata_spindown(1); | 882 | ata_spindown(1); |
@@ -888,4 +890,5 @@ void shutdown_hw(void) { | |||
888 | lcd_set_contrast(0); | 890 | lcd_set_contrast(0); |
889 | #endif | 891 | #endif |
890 | power_off(); | 892 | power_off(); |
893 | #endif | ||
891 | } | 894 | } |