diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-04-20 21:05:04 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-04-20 21:05:04 +0000 |
commit | 62aaf1d734d7973b8f8d6d7108c085f525d7b7fe (patch) | |
tree | ff97b9fecc6bbd830c96943aa9d0f886d5a07714 /apps | |
parent | d43e719d59aeadefee7b46609bdbe66812c5c380 (diff) | |
download | rockbox-62aaf1d734d7973b8f8d6d7108c085f525d7b7fe.tar.gz rockbox-62aaf1d734d7973b8f8d6d7108c085f525d7b7fe.zip |
Use correct macros to check for iriver architecture.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9749 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 55c880c949..08516585e5 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -947,7 +947,7 @@ bool dbg_ports(void) unsigned int gpio_enable; unsigned int gpio1_enable; int adc_buttons, adc_remote, adc_battery; -#ifdef IRIVER +#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) int adc_remotedetect; #endif char buf[128]; @@ -993,7 +993,7 @@ bool dbg_ports(void) adc_buttons = adc_read(ADC_BUTTONS); adc_remote = adc_read(ADC_REMOTE); adc_battery = adc_read(ADC_BATTERY); -#ifdef IRIVER +#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) adc_remotedetect = adc_read(ADC_REMOTEDETECT); #endif @@ -1003,7 +1003,7 @@ bool dbg_ports(void) lcd_puts(0, line++, buf); snprintf(buf, sizeof(buf), "ADC_BATTERY: %02x", adc_battery); lcd_puts(0, line++, buf); -#ifdef IRIVER +#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) snprintf(buf, sizeof(buf), "ADC_REMOTEDETECT: %02x", adc_remotedetect); lcd_puts(0, line++, buf); #endif @@ -1016,7 +1016,7 @@ bool dbg_ports(void) battery_level()); lcd_puts(0, line++, buf); -#ifdef IRIVER +#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) snprintf(buf, sizeof(buf), "remotetype:: %d", remote_type()); lcd_puts(0, line++, buf); #endif |