summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-05-07 23:01:42 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-05-07 23:01:42 +0000
commit9566349db6350182c6b2b9c4dac5d8bfd20c8746 (patch)
tree6bdcd4c63045611f8e81818b3cfb124f3a274ea2
parentdc4977d98cf3460a5928984612a8cb22a1987b30 (diff)
downloadrockbox-9566349db6350182c6b2b9c4dac5d8bfd20c8746.tar.gz
rockbox-9566349db6350182c6b2b9c4dac5d8bfd20c8746.zip
tick_start() now uses HZ
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@502 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/kernel.c b/firmware/kernel.c
index 74393ce5bc..afdb0bd1d3 100644
--- a/firmware/kernel.c
+++ b/firmware/kernel.c
@@ -32,7 +32,7 @@ static void tick_start(unsigned int interval_in_ms);
****************************************************************************/
void kernel_init(void)
{
- tick_start(1);
+ tick_start(1000/HZ);
}
void sleep(int ticks)