diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2003-07-11 19:11:06 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2003-07-11 19:11:06 +0000 |
| commit | 9cb5e0e9f94e0660682f35b7ae2d55a82f009f03 (patch) | |
| tree | d11b67b10cb0428e7045c054201d2d8f5ec7120a | |
| parent | f6811b008e49ae26abad3d678230bf5f617a3abb (diff) | |
| download | rockbox-9cb5e0e9f94e0660682f35b7ae2d55a82f009f03.zip rockbox-9cb5e0e9f94e0660682f35b7ae2d55a82f009f03.tar.gz rockbox-9cb5e0e9f94e0660682f35b7ae2d55a82f009f03.tar.bz2 rockbox-9cb5e0e9f94e0660682f35b7ae2d55a82f009f03.tar.xz | |
Initalize last_disk_activity
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3830 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/drivers/ata.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 88b57d0..a463e2d 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; |