From 5d849a963e562d1996c20cd72228835276288141 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Wed, 2 Feb 2011 17:43:32 +0000 Subject: Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29189 a1c6a512-1295-4272-9138-f99709370657 --- apps/mpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/mpeg.c') diff --git a/apps/mpeg.c b/apps/mpeg.c index 583e4e2122..bdca92048f 100644 --- a/apps/mpeg.c +++ b/apps/mpeg.c @@ -1623,7 +1623,7 @@ static void mpeg_thread(void) #if (CONFIG_STORAGE & STORAGE_MMC) /* MMC is slow, so don't read too large chunks */ amount_to_read = MIN(0x40000, amount_to_read); -#elif MEM == 8 +#elif MEMORYSIZE == 8 amount_to_read = MIN(0x100000, amount_to_read); #endif @@ -1933,7 +1933,7 @@ static void mpeg_thread(void) #if (CONFIG_STORAGE & STORAGE_MMC) /* MMC is slow, so don't save too large chunks at once */ amount_to_save = MIN(0x40000, amount_to_save); -#elif MEM == 8 +#elif MEMORYSIZE == 8 amount_to_save = MIN(0x100000, amount_to_save); #endif rc = write(mpeg_file, audiobuf + audiobuf_read, -- cgit v1.2.3