From 0d96f5c78e54d267ef1ca230fe20af1ca090e1d6 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 16 Jun 2013 12:21:30 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5859 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/testmtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/testmtx.c') diff --git a/test/testmtx.c b/test/testmtx.c index 149f47d11..f83a9744a 100644 --- a/test/testmtx.c +++ b/test/testmtx.c @@ -191,7 +191,7 @@ static void mtx2_execute(void) { systime_t time; test_wait_tick(); - time = chTimeNow(); + time = chVTGetSystemTime(); threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriority()-1, thread2H, 0); threads[1] = chThdCreateStatic(wa[1], WA_SIZE, chThdGetPriority()-2, thread2M, 0); threads[2] = chThdCreateStatic(wa[2], WA_SIZE, chThdGetPriority()-3, thread2L, 0); @@ -309,7 +309,7 @@ static void mtx3_execute(void) { systime_t time; test_wait_tick(); - time = chTimeNow(); + time = chVTGetSystemTime(); threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriority()-5, thread3LL, 0); threads[1] = chThdCreateStatic(wa[1], WA_SIZE, chThdGetPriority()-4, thread3L, 0); threads[2] = chThdCreateStatic(wa[2], WA_SIZE, chThdGetPriority()-3, thread3M, 0); -- cgit v1.2.3