summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2008-05-29 06:12:08 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2008-05-29 06:12:08 +0000
commit07bfba21aeba9bf3431bed6ca5daa377b0530a9b (patch)
tree4e9c7f8434d7bc82944952a7404b38ffe763b271 /apps
parent5c5e8491962e7de20b74cc7ab61d65d52693de11 (diff)
downloadrockbox-07bfba21aeba9bf3431bed6ca5daa377b0530a9b.tar.gz
rockbox-07bfba21aeba9bf3431bed6ca5daa377b0530a9b.tar.bz2
rockbox-07bfba21aeba9bf3431bed6ca5daa377b0530a9b.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 22b1777a68..72c8225476 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++;