From 7c17fd8c3912a48891cd3cfdc590543e0c65cf18 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Wed, 6 May 2020 10:19:27 -0400 Subject: [PATCH] Fix #676, reference to deprecated CFE_SPACECRAFT_ID Should be CFE_MISSION_SPACECRAFT_ID --- fsw/cfe-core/src/sb/cfe_sb_msg_id_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsw/cfe-core/src/sb/cfe_sb_msg_id_util.c b/fsw/cfe-core/src/sb/cfe_sb_msg_id_util.c index a4e6c25bd..59fdb72f1 100644 --- a/fsw/cfe-core/src/sb/cfe_sb_msg_id_util.c +++ b/fsw/cfe-core/src/sb/cfe_sb_msg_id_util.c @@ -181,7 +181,7 @@ void CFE_SB_SetMsgId(CFE_SB_MsgPtr_t MsgPtr, CCSDS_WR_SUBSYSTEM_ID(MsgPtr->SpacePacket.ApidQ, CFE_SB_RD_SUBSYS_ID_FROM_MSGID(MsgIdVal)); - CCSDS_WR_SYSTEM_ID(MsgPtr->SpacePacket.ApidQ, CFE_SPACECRAFT_ID); + CCSDS_WR_SYSTEM_ID(MsgPtr->SpacePacket.ApidQ, CFE_MISSION_SPACECRAFT_ID); #endif }/* end CFE_SB_SetMsgId */