Properly shut down the UDA1380
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6209 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e7b993f1f6
commit
07218e5401
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,9 @@
|
|||
#ifdef CONFIG_TUNER
|
||||
#include "fmradio.h"
|
||||
#endif
|
||||
#ifdef IRIVER_H100
|
||||
#include "uda1380.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Define DEBUG_FILE to create a csv (spreadsheet) with battery information
|
||||
|
@ -887,6 +890,9 @@ void shutdown_hw(void)
|
|||
sleep(HZ/10);
|
||||
|
||||
mp3_shutdown();
|
||||
#ifdef IRIVER_H100
|
||||
uda1380_close();
|
||||
#endif
|
||||
#if CONFIG_KEYPAD == ONDIO_PAD
|
||||
backlight_off();
|
||||
sleep(1);
|
||||
|
|
Loading…
Reference in a new issue