fix warnings / sim build

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5815 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Christi Scarborough 2005-02-06 10:14:50 +00:00
parent 247fe6d698
commit e033d7cea7

View file

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