Skip to content

Commit 34321ff

Browse files
author
Gerardo E. Cruz-Ortiz
committed
Integration Fix: Make Sample_AppData uppercase and add missing "status" to return
1 parent 4f40a95 commit 34321ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fsw/src/sample_app.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,12 +451,12 @@ int32 SAMPLE_Process( const SAMPLE_Process_t *Msg )
451451

452452
SAMPLE_GetCrc(TableName);
453453

454-
status = CFE_TBL_ReleaseAddress(Sample_AppData.TblHandles[0]);
454+
status = CFE_TBL_ReleaseAddress(SAMPLE_AppData.TblHandles[0]);
455455
if (status != CFE_SUCCESS)
456456
{
457457
CFE_ES_WriteToSysLog("Sample App: Fail to release table address: 0x%08lx",
458458
(unsigned long)status);
459-
return;
459+
return status;
460460
}
461461

462462
/* Invoke a function provided by SAMPLE_LIB */

0 commit comments

Comments
 (0)