forked from len0rd/rockbox
Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f921f74873
commit
70e9c7aed3
24 changed files with 1283 additions and 28 deletions
|
|
@ -73,6 +73,10 @@
|
|||
#include "scrobbler.h"
|
||||
#include "icon.h"
|
||||
|
||||
#ifdef IPOD_ACCESSORY_PROTOCOL
|
||||
#include "iap.h"
|
||||
#endif
|
||||
|
||||
#if (CONFIG_CODEC == SWCODEC)
|
||||
#include "playback.h"
|
||||
#endif
|
||||
|
|
@ -583,6 +587,9 @@ static void init(void)
|
|||
#if CONFIG_CHARGING
|
||||
car_adapter_mode_init();
|
||||
#endif
|
||||
#ifdef IPOD_ACCESSORY_PROTOCOL
|
||||
iap_setup(global_settings.serial_bitrate);
|
||||
#endif
|
||||
#ifdef HAVE_ACCESSORY_SUPPLY
|
||||
accessory_supply_set(global_settings.accessory_supply);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue