forked from Imagelibrary/rtems
added subtract of 1 to Task_Number to account for the creation
of the initialization task
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user