aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.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/test.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/test.c')
-rw-r--r--test/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c
index 1de688a28..b7c92ceaf 100644
--- a/test/test.c
+++ b/test/test.c
@@ -183,7 +183,7 @@ bool_t _test_assert_sequence(unsigned point, char *expected) {
bool_t _test_assert_time_window(unsigned point, systime_t start, systime_t end) {
- return _test_assert(point, chTimeIsWithin(start, end));
+ return _test_assert(point, chVTIsSystemTimeWithin(start, end));
}
/*
@@ -245,7 +245,7 @@ void test_cpu_pulse(unsigned duration) {
systime_t test_wait_tick(void) {
chThdSleep(1);
- return chTimeNow();
+ return chVTGetSystemTime();
}
/*