[rtems commit] sptests/spprivenv01: Use default task mode

Sebastian Huber sebh at rtems.org
Fri May 12 08:10:30 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri May 12 10:08:34 2017 +0200

sptests/spprivenv01: Use default task mode

There is no need to run the task with interrupts disabled.

---

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

diff --git a/testsuites/sptests/spprivenv01/init.c b/testsuites/sptests/spprivenv01/init.c
index 4f0660d..88cf5e0 100644
--- a/testsuites/sptests/spprivenv01/init.c
+++ b/testsuites/sptests/spprivenv01/init.c
@@ -90,7 +90,7 @@ rtems_task Init(
   sc = rtems_task_create( another_task_name,
 			  1,
 			  RTEMS_MINIMUM_STACK_SIZE * 2,
-			  RTEMS_INTERRUPT_LEVEL(31),
+			  RTEMS_DEFAULT_MODES,
 			  RTEMS_DEFAULT_ATTRIBUTES,
 			  &task_id
 			  );



More information about the vc mailing list