From 70e9c7aed361787a404c4856211ddf53127fca9a Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Thu, 25 Dec 2008 01:46:16 +0000 Subject: 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 --- apps/debug_menu.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index abb6018a10..f390cced85 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -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", -- cgit v1.2.3