From 41018a883e41e6f411062f1d8861c80dc453a1cf Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Wed, 6 Mar 2024 19:30:24 -0500 Subject: [PATCH] Fix #228, apply name changes to EDS dispatcher Renames symbols to match recent EdsLib change --- fsw/src/sample_app_eds_dispatch.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fsw/src/sample_app_eds_dispatch.c b/fsw/src/sample_app_eds_dispatch.c index 156973f..6751e43 100644 --- a/fsw/src/sample_app_eds_dispatch.c +++ b/fsw/src/sample_app_eds_dispatch.c @@ -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, @@ -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) {