Skip to content

Commit

Permalink
Merge pull request nasa#229 from jphickey:fix-228-eds-namechange
Browse files Browse the repository at this point in the history
Fix nasa#228, apply name changes to EDS dispatcher
  • Loading branch information
dzbaker committed Mar 11, 2024
2 parents 2dd3b1c + 41018a8 commit f163a90
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fsw/src/sample_app_eds_dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/*
* Define a lookup table for SAMPLE app command codes
*/
static const SAMPLE_APP_Application_Component_Telecommand_DispatchTable_t SAMPLE_TC_DISPATCH_TABLE = {
static const EdsDispatchTable_SAMPLE_APP_Application_CFE_SB_Telecommand_t SAMPLE_TC_DISPATCH_TABLE = {
.CMD = {.NoopCmd_indication = SAMPLE_APP_NoopCmd,
.ResetCountersCmd_indication = SAMPLE_APP_ResetCountersCmd,
.ProcessCmd_indication = SAMPLE_APP_ProcessCmd,
Expand All @@ -58,8 +58,7 @@ void SAMPLE_APP_TaskPipe(const CFE_SB_Buffer_t *SBBufPtr)
CFE_MSG_Size_t MsgSize;
CFE_MSG_FcnCode_t MsgFc;

Status = SAMPLE_APP_Application_Component_Telecommand_Dispatch(CFE_SB_Telecommand_indication_Command_ID, SBBufPtr,
&SAMPLE_TC_DISPATCH_TABLE);
Status = EdsDispatch_SAMPLE_APP_Application_Telecommand(SBBufPtr, &SAMPLE_TC_DISPATCH_TABLE);

if (Status != CFE_SUCCESS)
{
Expand Down

0 comments on commit f163a90

Please sign in to comment.