forked from len0rd/rockbox
iAudio: First unfinished attempt for tlv320 driver and rockbox integration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
095854b989
commit
14e80671af
8 changed files with 441 additions and 142 deletions
|
|
@ -43,6 +43,8 @@
|
|||
#endif
|
||||
#ifdef HAVE_UDA1380
|
||||
#include "uda1380.h"
|
||||
#eilf HAVE_TLV320
|
||||
#include "tlv320.h"
|
||||
#endif
|
||||
#include "logf.h"
|
||||
|
||||
|
|
@ -377,7 +379,7 @@ static void handle_auto_poweroff(void)
|
|||
last_event_tick = current_tick;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
if(timeout &&
|
||||
#ifdef CONFIG_TUNER
|
||||
(radio_get_status() != FMRADIO_PLAYING) &&
|
||||
|
|
@ -903,6 +905,8 @@ void shutdown_hw(void)
|
|||
mp3_shutdown();
|
||||
#ifdef HAVE_UDA1380
|
||||
uda1380_close();
|
||||
#eilf HAVE_TLV320
|
||||
tlv320_close();
|
||||
#endif
|
||||
#if CONFIG_KEYPAD == ONDIO_PAD
|
||||
backlight_off();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue