aboutsummaryrefslogtreecommitdiffstats
path: root/test/rt
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-23 20:13:12 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-23 20:13:12 +0000
commit07bf11c821e0639226ddfa649f3fae10e17a344a (patch)
treee96b7c23e8bc3d458309410759ebb923c79b59f9 /test/rt
parentede7f0ef0980685b2270cabee1b06db9ff25ac2f (diff)
downloadChibiOS-07bf11c821e0639226ddfa649f3fae10e17a344a.tar.gz
ChibiOS-07bf11c821e0639226ddfa649f3fae10e17a344a.tar.bz2
ChibiOS-07bf11c821e0639226ddfa649f3fae10e17a344a.zip
Fixed obsolete function call in test suite.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10890 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/rt')
-rw-r--r--test/rt/configuration.xml2
-rw-r--r--test/rt/source/test/rt_test_sequence_006.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/rt/configuration.xml b/test/rt/configuration.xml
index 4f7fab6fb..7a39164d0 100644
--- a/test/rt/configuration.xml
+++ b/test/rt/configuration.xml
@@ -1553,7 +1553,7 @@ void test_cpu_pulse(unsigned duration) {
_sim_check_for_interrupts();
#endif
}
- while (chVTIsTimeWithinX(now, start, end));
+ while (chTimeIsInRangeX(now, start, end));
}
#endif /* CH_DBG_THREADS_PROFILING */
diff --git a/test/rt/source/test/rt_test_sequence_006.c b/test/rt/source/test/rt_test_sequence_006.c
index db6d1a73a..a99f0e9a7 100644
--- a/test/rt/source/test/rt_test_sequence_006.c
+++ b/test/rt/source/test/rt_test_sequence_006.c
@@ -78,7 +78,7 @@ void test_cpu_pulse(unsigned duration) {
_sim_check_for_interrupts();
#endif
}
- while (chVTIsTimeWithinX(now, start, end));
+ while (chTimeIsInRangeX(now, start, end));
}
#endif /* CH_DBG_THREADS_PROFILING */