1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2007-03-05 00:04:00 +00:00
parent ee07215d50
commit 8876018d25
27 changed files with 781 additions and 35 deletions

View file

@ -1077,7 +1077,7 @@ bool dbg_ports(void)
snprintf(buf, sizeof(buf), "ADC_BUTTONS: %02x", adc_buttons);
#endif
lcd_puts(0, line++, buf);
#ifdef IAUDIO_X5
#if defined(IAUDIO_X5) || defined(IAUDIO_M5)
snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x",
remote_detect() ? '+' : '-', adc_remote);
#else
@ -1953,7 +1953,7 @@ static bool dbg_save_roms(void)
fd = creat("/internal_rom_000000-1FFFFF.bin");
#elif defined(IRIVER_H300_SERIES)
fd = creat("/internal_rom_000000-3FFFFF.bin");
#elif defined(IAUDIO_X5)
#elif defined(IAUDIO_X5) || defined(IAUDIO_M5)
fd = creat("/internal_rom_000000-3FFFFF.bin");
#endif
if(fd >= 0)