Skip to content

Commit 5c7dce4

Browse files
Jacob Hagemanastrogeco
authored andcommitted
Fix #777, Use MSG APIs - Core software
Update the core software from the deprecated SB APIs to the MSG APIs. Fix Merge conflicts
1 parent 752dc0b commit 5c7dce4

33 files changed

+522
-560
lines changed

fsw/cfe-core/src/es/cfe_es_task.c

Lines changed: 81 additions & 81 deletions
Large diffs are not rendered by default.

fsw/cfe-core/src/es/cfe_es_task.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ typedef struct
120120
/*
121121
** ES Task operational data (not reported in housekeeping)
122122
*/
123-
CFE_SB_MsgPtr_t MsgPtr;
124-
CFE_SB_PipeId_t CmdPipe;
123+
CFE_MSG_Message_t *MsgPtr;
124+
CFE_SB_PipeId_t CmdPipe;
125125

126126
/*
127127
** ES Task initialization data (not reported in housekeeping)
@@ -160,7 +160,7 @@ extern CFE_ES_TaskData_t CFE_ES_TaskData;
160160
*/
161161
void CFE_ES_TaskMain(void);
162162
int32 CFE_ES_TaskInit(void);
163-
void CFE_ES_TaskPipe(CFE_SB_MsgPtr_t Msg);
163+
void CFE_ES_TaskPipe(CFE_MSG_Message_t *MsgPtr);
164164

165165

166166
/*
@@ -204,8 +204,8 @@ int32 CFE_ES_DumpCDSRegistryCmd(const CFE_ES_DumpCDSRegistry_t *data);
204204
** Message Handler Helper Functions
205205
*/
206206
bool CFE_ES_ValidateHandle(CFE_ES_MemHandle_t Handle);
207-
bool CFE_ES_VerifyCmdLength(CFE_SB_MsgPtr_t msg, size_t ExpectedLength);
208-
void CFE_ES_FileWriteByteCntErr(const char *Filename,size_t Requested,size_t Actual);
207+
bool CFE_ES_VerifyCmdLength(CFE_MSG_Message_t *MsgPtr, size_t ExpectedLength);
208+
void CFE_ES_FileWriteByteCntErr(const char *Filename, size_t Requested, size_t Actual);
209209

210210
/*************************************************************************/
211211

@@ -214,4 +214,3 @@ void CFE_ES_FileWriteByteCntErr(const char *Filename,size_t Requested,size_t Act
214214
/************************/
215215
/* End of File Comment */
216216
/************************/
217-

0 commit comments

Comments
 (0)