diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-03-05 00:04:00 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-03-05 00:04:00 +0000 |
commit | 8876018d25c6a56cce118482c1372bbff344cb23 (patch) | |
tree | a66dca10bf92674c655b9862fd366ecc77bba76a /apps/debug_menu.c | |
parent | ee07215d506def8d3483f4adf6e1d4ae51c10c52 (diff) | |
download | rockbox-8876018d25c6a56cce118482c1372bbff344cb23.tar.gz rockbox-8876018d25c6a56cce118482c1372bbff344cb23.zip |
Bring up the M5 port to a working stage: Extended numerous explicit checks for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index d6c5ef4d1c..531ac106f4 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1077,7 +1077,7 @@ bool dbg_ports(void) | |||
1077 | snprintf(buf, sizeof(buf), "ADC_BUTTONS: %02x", adc_buttons); | 1077 | snprintf(buf, sizeof(buf), "ADC_BUTTONS: %02x", adc_buttons); |
1078 | #endif | 1078 | #endif |
1079 | lcd_puts(0, line++, buf); | 1079 | lcd_puts(0, line++, buf); |
1080 | #ifdef IAUDIO_X5 | 1080 | #if defined(IAUDIO_X5) || defined(IAUDIO_M5) |
1081 | snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x", | 1081 | snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x", |
1082 | remote_detect() ? '+' : '-', adc_remote); | 1082 | remote_detect() ? '+' : '-', adc_remote); |
1083 | #else | 1083 | #else |
@@ -1953,7 +1953,7 @@ static bool dbg_save_roms(void) | |||
1953 | fd = creat("/internal_rom_000000-1FFFFF.bin"); | 1953 | fd = creat("/internal_rom_000000-1FFFFF.bin"); |
1954 | #elif defined(IRIVER_H300_SERIES) | 1954 | #elif defined(IRIVER_H300_SERIES) |
1955 | fd = creat("/internal_rom_000000-3FFFFF.bin"); | 1955 | fd = creat("/internal_rom_000000-3FFFFF.bin"); |
1956 | #elif defined(IAUDIO_X5) | 1956 | #elif defined(IAUDIO_X5) || defined(IAUDIO_M5) |
1957 | fd = creat("/internal_rom_000000-3FFFFF.bin"); | 1957 | fd = creat("/internal_rom_000000-3FFFFF.bin"); |
1958 | #endif | 1958 | #endif |
1959 | if(fd >= 0) | 1959 | if(fd >= 0) |