summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index c0a476dc10..94076bf64d 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -122,6 +122,10 @@
122#include "usb_core.h" 122#include "usb_core.h"
123#endif 123#endif
124 124
125#if defined(IPOD_ACCESSORY_PROTOCOL)
126#include "iap.h"
127#endif
128
125/*---------------------------------------------------*/ 129/*---------------------------------------------------*/
126/* SPECIAL DEBUG STUFF */ 130/* SPECIAL DEBUG STUFF */
127/*---------------------------------------------------*/ 131/*---------------------------------------------------*/
@@ -1182,7 +1186,7 @@ bool dbg_ports(void)
1182#endif 1186#endif
1183 1187
1184#if defined(IPOD_ACCESSORY_PROTOCOL) 1188#if defined(IPOD_ACCESSORY_PROTOCOL)
1185extern unsigned char serbuf[]; 1189 const unsigned char *serbuf = iap_get_serbuf();
1186 lcd_putsf(0, line++, "IAP PACKET: %02x %02x %02x %02x %02x %02x %02x %02x", 1190 lcd_putsf(0, line++, "IAP PACKET: %02x %02x %02x %02x %02x %02x %02x %02x",
1187 serbuf[0], serbuf[1], serbuf[2], serbuf[3], serbuf[4], serbuf[5], 1191 serbuf[0], serbuf[1], serbuf[2], serbuf[3], serbuf[4], serbuf[5],
1188 serbuf[6], serbuf[7]); 1192 serbuf[6], serbuf[7]);