From 07bfba21aeba9bf3431bed6ca5daa377b0530a9b Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 29 May 2008 06:12:08 +0000 Subject: Add the ADC_ACCESSORY channel on the ipod, to allow for accessory detection once we figure that out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17648 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 22b1777..72c8225 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1194,6 +1194,8 @@ bool dbg_ports(void) lcd_puts(0, line++, buf); snprintf(buf, sizeof(buf), "DEV_INIT2: %08lx", DEV_INIT2); lcd_puts(0, line++, buf); + snprintf(buf, sizeof(buf), "ACCESSORY: %d", adc_read(ADC_ACCESSORY)); + lcd_puts(0, line++, buf); #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) line++; -- cgit v1.1