aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.h')
-rw-r--r--test/test.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test.h b/test/test.h
index c74610c95..761ee08b9 100644
--- a/test/test.h
+++ b/test/test.h
@@ -62,8 +62,10 @@ extern "C" {
void test_terminate_threads(void);
void test_wait_threads(void);
systime_t test_wait_tick(void);
- void test_cpu_pulse(unsigned ms);
void test_start_timer(unsigned ms);
+#if CH_DBG_THREADS_PROFILING
+ void test_cpu_pulse(unsigned duration);
+#endif
#if defined(WIN32)
void ChkIntSources(void);
#endif
@@ -72,7 +74,7 @@ extern "C" {
#endif
#define test_fail(point) { \
- _test_fail(point); \
+ _test_fail(point); \
return; \
}