From 9cb5e0e9f94e0660682f35b7ae2d55a82f009f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Fri, 11 Jul 2003 19:11:06 +0000 Subject: [PATCH] Initalize last_disk_activity git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3830 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 88b57d033e..a463e2dc3b 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -856,6 +856,8 @@ int ata_init(void) DEBUGF("ata: %d sectors per ata request\n",multisectors); queue_init(&ata_queue); + + last_disk_activity = current_tick; create_thread(ata_thread, ata_stack, sizeof(ata_stack), ata_thread_name); initialized = true;