diff options
Diffstat (limited to 'apps/debug_menu.c')
| -rw-r--r-- | apps/debug_menu.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index c0a476d..94076bf 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -122,6 +122,10 @@ #include "usb_core.h" #endif +#if defined(IPOD_ACCESSORY_PROTOCOL) +#include "iap.h" +#endif + /*---------------------------------------------------*/ /* SPECIAL DEBUG STUFF */ /*---------------------------------------------------*/ @@ -1182,7 +1186,7 @@ bool dbg_ports(void) #endif #if defined(IPOD_ACCESSORY_PROTOCOL) -extern unsigned char serbuf[]; + const unsigned char *serbuf = iap_get_serbuf(); lcd_putsf(0, line++, "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]); |