Skip to content

Commit

Permalink
Fix #228, apply name changes to EDS dispatcher
Browse files Browse the repository at this point in the history
Renames symbols to match recent EdsLib change
  • Loading branch information
jphickey committed Mar 7, 2024
1 parent 2dd3b1c commit 41018a8
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 41018a8

Please sign in to comment.