1
0
Fork 0
forked from len0rd/rockbox

Oops, not all PP targets have ADC_ACCESSORY.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17649 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2008-05-29 06:46:09 +00:00
parent 07bfba21ae
commit 0cda59e939

View file

@ -1194,8 +1194,10 @@ bool dbg_ports(void)
lcd_puts(0, line++, buf); lcd_puts(0, line++, buf);
snprintf(buf, sizeof(buf), "DEV_INIT2: %08lx", DEV_INIT2); snprintf(buf, sizeof(buf), "DEV_INIT2: %08lx", DEV_INIT2);
lcd_puts(0, line++, buf); lcd_puts(0, line++, buf);
#ifdef ADC_ACCESSORY
snprintf(buf, sizeof(buf), "ACCESSORY: %d", adc_read(ADC_ACCESSORY)); snprintf(buf, sizeof(buf), "ACCESSORY: %d", adc_read(ADC_ACCESSORY));
lcd_puts(0, line++, buf); lcd_puts(0, line++, buf);
#endif
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
line++; line++;