From 8e7b8105d6db79fdbfbeb93817b2ef834bc05d4e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 2 Jun 1997 23:47:05 +0000 Subject: added subtract of 1 to Task_Number to account for the creation of the initialization task --- c/src/ada-tests/support/test_support.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/ada-tests') diff --git a/c/src/ada-tests/support/test_support.adb b/c/src/ada-tests/support/test_support.adb index d5ab4b40ba..b3e3a2d86c 100644 --- a/c/src/ada-tests/support/test_support.adb +++ b/c/src/ada-tests/support/test_support.adb @@ -207,7 +207,7 @@ package body Test_Support is ) return RTEMS.Unsigned32 is begin - return RTEMS.Get_Index( TID ) - + return RTEMS.Get_Index( TID ) - 1 - RTEMS.Configuration.RTEMS_API_Configuration.Number_Of_Initialization_Tasks; end Task_Number; -- cgit v1.2.3