diff options
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 4 |
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();
}
/*
|