summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/ata_mmc.c6
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;
92static struct mutex mmc_mutex; 92static struct mutex mmc_mutex;
93 93
94#ifdef HAVE_HOTSWAP 94#ifdef HAVE_HOTSWAP
95static bool mmc_monitor_enabled = true;
95static long mmc_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)]; 96static long mmc_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)];
97#else
98static long mmc_stack[DEFAULT_STACK_SIZE/sizeof(long)];
99#endif
96static const char mmc_thread_name[] = "mmc"; 100static const char mmc_thread_name[] = "mmc";
97static struct event_queue mmc_queue; 101static struct event_queue mmc_queue;
98static bool mmc_monitor_enabled = true;
99#endif
100static bool initialized = false; 102static bool initialized = false;
101static bool new_mmc_circuit; 103static bool new_mmc_circuit;
102 104