mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Commit stable parts of FS#9611 - Sansa Clip radio code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19813 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f1c6c3a754
commit
ae351903a6
5 changed files with 23 additions and 14 deletions
|
|
@ -26,6 +26,7 @@
|
|||
#include "ascodec-target.h"
|
||||
#include "dma-target.h"
|
||||
#include "clock-target.h"
|
||||
#include "fmradio_i2c.h"
|
||||
|
||||
#define default_interrupt(name) \
|
||||
extern __attribute__((weak,alias("UIRQ"))) void name (void)
|
||||
|
|
@ -263,6 +264,10 @@ void system_init(void)
|
|||
* We don't need the power button in the bootloader. */
|
||||
ascodec_init();
|
||||
ascodec_write(AS3514_CVDD_DCDC3, ascodec_read(AS3514_CVDD_DCDC3) & (1<<2));
|
||||
|
||||
#ifdef CONFIG_TUNER
|
||||
fmradio_i2c_init();
|
||||
#endif
|
||||
#endif /* !BOOTLOADER */
|
||||
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue