[rtems commit] spintrcritical16: Use right thread wait flags

Sebastian Huber sebh at rtems.org
Fri Aug 21 11:49:16 UTC 2020


Module:    rtems
Branch:    master
Commit:    cd74bd0c6dc32a0df9316f642106b6c980a12e4e
Changeset: http://git.rtems.org/rtems/commit/?id=cd74bd0c6dc32a0df9316f642106b6c980a12e4e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Aug 21 13:43:34 2020 +0200

spintrcritical16: Use right thread wait flags

---

 testsuites/sptests/spintrcritical16/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/sptests/spintrcritical16/init.c b/testsuites/sptests/spintrcritical16/init.c
index ed9ecfd..6f087da 100644
--- a/testsuites/sptests/spintrcritical16/init.c
+++ b/testsuites/sptests/spintrcritical16/init.c
@@ -46,7 +46,7 @@ static T_interrupt_test_state interrupt( void *arg )
   ) {
     state = T_INTERRUPT_TEST_DONE;
   } else if (
-    flags == ( THREAD_WAIT_CLASS_EVENT | THREAD_WAIT_STATE_BLOCKED )
+    flags == ( THREAD_WAIT_CLASS_OBJECT | THREAD_WAIT_STATE_BLOCKED )
   ) {
     state = T_INTERRUPT_TEST_LATE;
   } else {



More information about the vc mailing list