aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */