added subtract of 1 to Task_Number to account for the creation

of the initialization task
This commit is contained in:
Joel Sherrill
1997-06-02 23:47:05 +00:00
parent ad9865e5f3
commit 8e7b8105d6

View File

@@ -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;