Skip to content

Commit

Permalink
Merge pull request #26 from nasa/fix-24-table-addr
Browse files Browse the repository at this point in the history
Accept CFE_SUCCESS from CFE_TBL_GetAddress()
  • Loading branch information
skliper authored Jan 21, 2020
2 parents 67378aa + c6342bd commit 4742800
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fsw/src/sch_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ int32 SCH_LAB_AppInit(void)
** Get Table Address
*/
Status = CFE_TBL_GetAddress((void **)&MySchTBL, TblHandles);
if ( Status != CFE_TBL_INFO_UPDATED )
if ( Status != CFE_SUCCESS &&
Status != CFE_TBL_INFO_UPDATED )
{
CFE_ES_WriteToSysLog("SCH_LAB: Error Getting Table's Address SCH_LAB_SchTbl, RC = 0x%08lX\n",
(unsigned long)Status);
Expand Down

0 comments on commit 4742800

Please sign in to comment.