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:
parent
07bfba21ae
commit
0cda59e939
1 changed files with 2 additions and 0 deletions
|
|
@ -1194,8 +1194,10 @@ bool dbg_ports(void)
|
|||
lcd_puts(0, line++, buf);
|
||||
snprintf(buf, sizeof(buf), "DEV_INIT2: %08lx", DEV_INIT2);
|
||||
lcd_puts(0, line++, buf);
|
||||
#ifdef ADC_ACCESSORY
|
||||
snprintf(buf, sizeof(buf), "ACCESSORY: %d", adc_read(ADC_ACCESSORY));
|
||||
lcd_puts(0, line++, buf);
|
||||
#endif
|
||||
|
||||
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
|
||||
line++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue