diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-11-08 08:04:11 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-11-08 08:04:11 +0000 |
commit | 5d67b4906dea49cf2c139cc89491a176a4e73c07 (patch) | |
tree | 1c5e6b60e5c9768eb963077788fc03e1496145b4 /firmware | |
parent | af2d91f629c66c6ba1c3d89f1e321be184b99312 (diff) | |
download | rockbox-5d67b4906dea49cf2c139cc89491a176a4e73c07.tar.gz rockbox-5d67b4906dea49cf2c139cc89491a176a4e73c07.zip |
Missed one hotswap ifdef...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11466 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/ata_mmc.c | 6 |
1 files 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; | |||
92 | static struct mutex mmc_mutex; | 92 | static struct mutex mmc_mutex; |
93 | 93 | ||
94 | #ifdef HAVE_HOTSWAP | 94 | #ifdef HAVE_HOTSWAP |
95 | static bool mmc_monitor_enabled = true; | ||
95 | static long mmc_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)]; | 96 | static long mmc_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)]; |
97 | #else | ||
98 | static long mmc_stack[DEFAULT_STACK_SIZE/sizeof(long)]; | ||
99 | #endif | ||
96 | static const char mmc_thread_name[] = "mmc"; | 100 | static const char mmc_thread_name[] = "mmc"; |
97 | static struct event_queue mmc_queue; | 101 | static struct event_queue mmc_queue; |
98 | static bool mmc_monitor_enabled = true; | ||
99 | #endif | ||
100 | static bool initialized = false; | 102 | static bool initialized = false; |
101 | static bool new_mmc_circuit; | 103 | static bool new_mmc_circuit; |
102 | 104 | ||