Skip to content

Commit

Permalink
Update #943, Make CFE and OSAL task ID equivalent
Browse files Browse the repository at this point in the history
For backward compatibility - remove logic that actually made thes
different numerical values.  This should be put back in at some point.
  • Loading branch information
jphickey committed Oct 20, 2020
1 parent 4356693 commit 0790e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/cfe-core/src/es/cfe_es_resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ int32 CFE_ES_ResourceID_ToIndex_Internal(uint32 Serial, uint32 TableSize, uint32
osal_id_t CFE_ES_ResourceID_ToOSAL(CFE_ES_ResourceID_t id)
{
unsigned long val = CFE_ES_ResourceID_ToInteger(id);
return OS_ObjectIdFromInteger(val ^ CFE_ES_RESOURCEID_MARK);
return OS_ObjectIdFromInteger(val);
}

/*********************************************************************/
Expand All @@ -85,7 +85,7 @@ osal_id_t CFE_ES_ResourceID_ToOSAL(CFE_ES_ResourceID_t id)
CFE_ES_ResourceID_t CFE_ES_ResourceID_FromOSAL(osal_id_t id)
{
unsigned long val = OS_ObjectIdToInteger(id);
return CFE_ES_ResourceID_FromInteger(val ^ CFE_ES_RESOURCEID_MARK);
return CFE_ES_ResourceID_FromInteger(val);
}

/*********************************************************************/
Expand Down

0 comments on commit 0790e11

Please sign in to comment.