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
|
|
@ -1195,6 +1195,14 @@ bool dbg_ports(void)
|
|||
lcd_puts(0, line++, buf);
|
||||
#endif
|
||||
|
||||
#if defined(IPOD_ACCESSORY_PROTOCOL)
|
||||
extern unsigned char serbuf[];
|
||||
snprintf(buf, sizeof(buf), "IAP PACKET: %02x %02x %02x %02x %02x %02x %02x %02x",
|
||||
serbuf[0], serbuf[1], serbuf[2], serbuf[3], serbuf[4], serbuf[5],
|
||||
serbuf[6], serbuf[7]);
|
||||
lcd_puts(0, line++, buf);
|
||||
#endif
|
||||
|
||||
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
|
||||
line++;
|
||||
snprintf(buf, sizeof(buf), "BATT: %03x UNK1: %03x",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue