Initalize last_disk_activity

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3830 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2003-07-11 19:11:06 +00:00
parent f6811b008e
commit 9cb5e0e9f9

View file

@ -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;