Skip to content

Commit

Permalink
Fix nasa#1023, correct stub appid parameter
Browse files Browse the repository at this point in the history
The type of this should be CFE_ES_ResourceID_t, not uint32
  • Loading branch information
jphickey committed Nov 17, 2020
1 parent 32f3dee commit a129e8c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fsw/cfe-core/ut-stubs/ut_evs_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ int32 CFE_EVS_SendEventWithAppID(uint16 EventID,
** Returns either a user-defined status flag or CFE_SUCCESS.
**
******************************************************************************/
int32 CFE_EVS_CleanUpApp(uint32 AppId)
int32 CFE_EVS_CleanUpApp(CFE_ES_ResourceID_t AppId)
{
int32 status;

Expand Down
2 changes: 1 addition & 1 deletion fsw/cfe-core/ut-stubs/ut_sb_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ uint16 CFE_SB_GetTotalMsgLength(const CFE_SB_Msg_t *MsgPtr)
** This function does not return a value.
**
******************************************************************************/
int32 CFE_SB_CleanUpApp(uint32 AppId)
int32 CFE_SB_CleanUpApp(CFE_ES_ResourceID_t AppId)
{
int32 status;

Expand Down
2 changes: 1 addition & 1 deletion fsw/cfe-core/ut-stubs/ut_tbl_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void CFE_TBL_TaskMain(void)
** Returns CFE_SUCCESS.
**
******************************************************************************/
int32 CFE_TBL_CleanUpApp(uint32 AppId)
int32 CFE_TBL_CleanUpApp(CFE_ES_ResourceID_t AppId)
{
int32 status;

Expand Down
2 changes: 1 addition & 1 deletion fsw/cfe-core/ut-stubs/ut_time_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ CFE_TIME_SysTime_t CFE_TIME_GetTime(void)
** Returns either a user-defined status flag or CFE_SUCCESS.
**
******************************************************************************/
int32 CFE_TIME_CleanUpApp(uint32 AppId)
int32 CFE_TIME_CleanUpApp(CFE_ES_ResourceID_t AppId)
{
int32 status;

Expand Down

0 comments on commit a129e8c

Please sign in to comment.