Initalize last_disk_activity
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3830 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f6811b008e
commit
9cb5e0e9f9
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue