diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-17 14:40:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-23 09:27:47 +0200 |
commit | e3e3b871ee7f625bb65de0836490db73badce55e (patch) | |
tree | 44b220baf82cd92974181f0a9875f79db39588a9 /testsuites | |
parent | libtest: Move <t.h> to <rtems/test.h> (diff) | |
download | rtems-e3e3b871ee7f625bb65de0836490db73badce55e.tar.bz2 |
libtest: Add T_busy()
Update #3199.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/sptests/spintrcritical_support/intrcritical.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/sptests/spintrcritical_support/intrcritical.c b/testsuites/sptests/spintrcritical_support/intrcritical.c index 51ab42f5d6..9bce230d2a 100644 --- a/testsuites/sptests/spintrcritical_support/intrcritical.c +++ b/testsuites/sptests/spintrcritical_support/intrcritical.c @@ -13,6 +13,7 @@ #include <tmacros.h> #include <intrcritical.h> +#include <rtems/test.h> #define INTERRUPT_CRITICAL_NAME rtems_build_name( 'I', 'C', 'R', 'I' ) @@ -49,7 +50,7 @@ static bool interrupt_critical_busy_wait( void ) interrupt_critical.maximum_current = max - 1; } - rtems_test_busy( max ); + T_busy( max ); return reset; } |