summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
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/debug_menu.c
parent5c5e8491962e7de20b74cc7ab61d65d52693de11 (diff)
downloadrockbox-07bfba21aeba9bf3431bed6ca5daa377b0530a9b.tar.gz
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/debug_menu.c')
-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)
1194 lcd_puts(0, line++, buf); 1194 lcd_puts(0, line++, buf);
1195 snprintf(buf, sizeof(buf), "DEV_INIT2: %08lx", DEV_INIT2); 1195 snprintf(buf, sizeof(buf), "DEV_INIT2: %08lx", DEV_INIT2);
1196 lcd_puts(0, line++, buf); 1196 lcd_puts(0, line++, buf);
1197 snprintf(buf, sizeof(buf), "ACCESSORY: %d", adc_read(ADC_ACCESSORY));
1198 lcd_puts(0, line++, buf);
1197 1199
1198#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) 1200#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
1199 line++; 1201 line++;