forked from len0rd/rockbox
fix warnings / sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5815 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
247fe6d698
commit
e033d7cea7
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
#include "ata.h"
|
#include "ata.h"
|
||||||
#include "mpeg.h"
|
#include "mpeg.h"
|
||||||
|
#include "mp3_playback.h"
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
#include "powermgmt.h"
|
#include "powermgmt.h"
|
||||||
#include "backlight.h"
|
#include "backlight.h"
|
||||||
|
@ -875,6 +876,7 @@ void powermgmt_init(void)
|
||||||
#endif /* SIMULATOR */
|
#endif /* SIMULATOR */
|
||||||
|
|
||||||
void shutdown_hw(void) {
|
void shutdown_hw(void) {
|
||||||
|
#ifndef SIMULATOR
|
||||||
mpeg_stop();
|
mpeg_stop();
|
||||||
ata_flush();
|
ata_flush();
|
||||||
ata_spindown(1);
|
ata_spindown(1);
|
||||||
|
@ -888,4 +890,5 @@ void shutdown_hw(void) {
|
||||||
lcd_set_contrast(0);
|
lcd_set_contrast(0);
|
||||||
#endif
|
#endif
|
||||||
power_off();
|
power_off();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue