summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata_mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/ata_mmc.c')
-rw-r--r--firmware/drivers/ata_mmc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c
index 66e60ead1d..604d1dde34 100644
--- a/firmware/drivers/ata_mmc.c
+++ b/firmware/drivers/ata_mmc.c
@@ -959,7 +959,7 @@ void ata_spin(void)
959 959
960static void mmc_thread(void) 960static void mmc_thread(void)
961{ 961{
962 struct event ev; 962 struct queue_event ev;
963 bool idle_notified = false; 963 bool idle_notified = false;
964 964
965 while (1) { 965 while (1) {
@@ -1153,8 +1153,9 @@ int ata_init(void)
1153 1153
1154 queue_init(&mmc_queue, true); 1154 queue_init(&mmc_queue, true);
1155 create_thread(mmc_thread, mmc_stack, 1155 create_thread(mmc_thread, mmc_stack,
1156 sizeof(mmc_stack), mmc_thread_name IF_PRIO(, PRIORITY_SYSTEM) 1156 sizeof(mmc_stack), 0, mmc_thread_name
1157 IF_COP(, CPU, false)); 1157 IF_PRIO(, PRIORITY_SYSTEM)
1158 IF_COP(, CPU));
1158 tick_add_task(mmc_tick); 1159 tick_add_task(mmc_tick);
1159 initialized = true; 1160 initialized = true;
1160 } 1161 }