aboutsummaryrefslogtreecommitdiff
path: root/kernel/adc.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2012-02-23 15:08:01 +0000
committerDimitri Sokolyuk <demon@dim13.org>2012-02-23 15:08:01 +0000
commit26efb8f08eb1c38ce2d09b87fb5465324033b896 (patch)
tree0927ea097af9c13f9ee57f4b60e506aa38380b8e /kernel/adc.c
parent2acb123fbf5dadf743db122e26fb96da4a58a84c (diff)
back to monotone time
new sleep() function
Diffstat (limited to 'kernel/adc.c')
-rw-r--r--kernel/adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/adc.c b/kernel/adc.c
index f91b5a8..e806c99 100644
--- a/kernel/adc.c
+++ b/kernel/adc.c
@@ -45,6 +45,6 @@ adc(void *arg)
wait(0);
fprintf(stderr, "\n%8lx%8x", now(), a->value[0]);
signal();
- sleep(MSEC(100));
+ sleep(0, 100000);
}
}