From bbbe910a6cd7891e57e6e15ca0212f89ab230995 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sun, 13 Feb 2022 18:36:48 -0700 Subject: Fixed test result --- src/tests/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/test.c b/src/tests/test.c index 071323e..612c3e0 100644 --- a/src/tests/test.c +++ b/src/tests/test.c @@ -27,7 +27,7 @@ void test_entry(void) sys0_64(SYS_TIME, &ti); sys0(SYS_YIELD); sys0_64(SYS_TIME, &tf); - dt += tf - ti; + dt = tf - ti; DRAW64(34, 19, dt/64); DRAW64(34+17, 19, dt%64); add_thread(btest, 0, 4); -- cgit v1.2.1