Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions modules/time/fsw/src/cfe_time_dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ void CFE_TIME_TaskPipe(const CFE_SB_Buffer_t *SBBufPtr)
static CFE_SB_MsgId_t ONEHZ_CMD_MID = CFE_SB_MSGID_RESERVED;
static CFE_SB_MsgId_t TONE_CMD_MID = CFE_SB_MSGID_RESERVED;
static CFE_SB_MsgId_t DATA_CMD_MID = CFE_SB_MSGID_RESERVED;
static CFE_SB_MsgId_t SEND_CMD_MID = CFE_SB_MSGID_RESERVED;
#if (CFE_PLATFORM_TIME_CFG_SERVER == true)
static CFE_SB_MsgId_t SEND_CMD_MID = CFE_SB_MSGID_RESERVED;
#endif

CFE_SB_MsgId_t MessageID = CFE_SB_INVALID_MSG_ID;

Expand All @@ -232,7 +234,9 @@ void CFE_TIME_TaskPipe(const CFE_SB_Buffer_t *SBBufPtr)
ONEHZ_CMD_MID = CFE_SB_ValueToMsgId(CFE_TIME_ONEHZ_CMD_MID);
TONE_CMD_MID = CFE_SB_ValueToMsgId(CFE_TIME_TONE_CMD_MID);
DATA_CMD_MID = CFE_SB_ValueToMsgId(CFE_TIME_DATA_CMD_MID);
SEND_CMD_MID = CFE_SB_ValueToMsgId(CFE_TIME_SEND_CMD_MID);
#if (CFE_PLATFORM_TIME_CFG_SERVER == true)
SEND_CMD_MID = CFE_SB_ValueToMsgId(CFE_TIME_SEND_CMD_MID);
#endif
}

CFE_MSG_GetMsgId(&SBBufPtr->Msg, &MessageID);
Expand Down