diff options
Diffstat (limited to 'firmware/drivers/ata.c')
-rw-r--r-- | firmware/drivers/ata.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 8593eebea1..f57088504b 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -1932,11 +1932,12 @@ int ata_init(void) | |||
1932 | if (rc) | 1932 | if (rc) |
1933 | return -60 + rc; | 1933 | return -60 + rc; |
1934 | 1934 | ||
1935 | queue_init(&ata_queue); | 1935 | queue_init(&ata_queue, true); |
1936 | 1936 | ||
1937 | last_disk_activity = current_tick; | 1937 | last_disk_activity = current_tick; |
1938 | create_thread(ata_thread, ata_stack, | 1938 | create_thread(ata_thread, ata_stack, |
1939 | sizeof(ata_stack), ata_thread_name); | 1939 | sizeof(ata_stack), ata_thread_name |
1940 | IF_PRIO(, PRIORITY_SYSTEM)); | ||
1940 | initialized = true; | 1941 | initialized = true; |
1941 | 1942 | ||
1942 | } | 1943 | } |