From 07bf11c821e0639226ddfa649f3fae10e17a344a Mon Sep 17 00:00:00 2001
From: Giovanni Di Sirio <gdisirio@gmail.com>
Date: Mon, 23 Oct 2017 20:13:12 +0000
Subject: 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
---
 test/rt/configuration.xml                  | 2 +-
 test/rt/source/test/rt_test_sequence_006.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'test')

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 */
 
-- 
cgit v1.2.3