aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmtx.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-16 12:21:30 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-16 12:21:30 +0000
commit0d96f5c78e54d267ef1ca230fe20af1ca090e1d6 (patch)
tree7090525820ed5cc9127e6d72aff8dc3dd37f563b /test/testmtx.c
parent9c9c52f753a9caf51189ad9e1293476f2384676b (diff)
downloadChibiOS-0d96f5c78e54d267ef1ca230fe20af1ca090e1d6.tar.gz
ChibiOS-0d96f5c78e54d267ef1ca230fe20af1ca090e1d6.tar.bz2
ChibiOS-0d96f5c78e54d267ef1ca230fe20af1ca090e1d6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5859 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testmtx.c')
-rw-r--r--test/testmtx.c4
1 files changed, 2 insertions, 2 deletions
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);