From 5d67b4906dea49cf2c139cc89491a176a4e73c07 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 8 Nov 2006 08:04:11 +0000 Subject: [PATCH] Missed one hotswap ifdef... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11466 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata_mmc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c index 0920ad730b..65abcb57e5 100644 --- a/firmware/drivers/ata_mmc.c +++ b/firmware/drivers/ata_mmc.c @@ -92,11 +92,13 @@ long last_disk_activity = -1; static struct mutex mmc_mutex; #ifdef HAVE_HOTSWAP +static bool mmc_monitor_enabled = true; static long mmc_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)]; +#else +static long mmc_stack[DEFAULT_STACK_SIZE/sizeof(long)]; +#endif static const char mmc_thread_name[] = "mmc"; static struct event_queue mmc_queue; -static bool mmc_monitor_enabled = true; -#endif static bool initialized = false; static bool new_mmc_circuit;