aboutsummaryrefslogtreecommitdiff
path: root/kernel/cmd.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2011-07-12 00:54:33 +0000
committerDimitri Sokolyuk <demon@dim13.org>2011-07-12 00:54:33 +0000
commitb4a9b392c57ca8b3f740dd3035b1f43b4ad583b4 (patch)
treeeeda7f987ad9abf16a5954ce250dc51cf0b1ac41 /kernel/cmd.c
parent42a1324ba256967ca11fa1a81ef3d2ac3d10c491 (diff)
add clock, redesign timer, tweak stack values
Diffstat (limited to 'kernel/cmd.c')
-rw-r--r--kernel/cmd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/cmd.c b/kernel/cmd.c
index 0174817..89d7a5f 100644
--- a/kernel/cmd.c
+++ b/kernel/cmd.c
@@ -34,8 +34,6 @@ void
cmd(void *arg)
{
struct rgbarg *a = arg;
- uint32_t d = deadline();
- uint32_t r = release();
char c;
int val;
char buf[10], *s;
@@ -63,7 +61,6 @@ cmd(void *arg)
}
}
- d = r += MSEC(10);
- update(r, d);
+ snore(MSEC(10));
}
}