Skip to content

Commit

Permalink
Merge pull request #223 from jphickey/fix-222-prefix
Browse files Browse the repository at this point in the history
Fix #222, add CFE_MISSION prefix to topicids
  • Loading branch information
dmknutsen authored Dec 15, 2023
2 parents e1b76be + c796651 commit 7ec0602
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions config/default_sample_app_msgids.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#include "cfe_core_api_base_msgids.h"
#include "sample_app_topicids.h"

#define SAMPLE_APP_CMD_MID CFE_PLATFORM_CMD_TOPICID_TO_MIDV(SAMPLE_APP_CMD_TOPICID)
#define SAMPLE_APP_SEND_HK_MID CFE_PLATFORM_CMD_TOPICID_TO_MIDV(SAMPLE_APP_SEND_HK_TOPICID)
#define SAMPLE_APP_HK_TLM_MID CFE_PLATFORM_TLM_TOPICID_TO_MIDV(SAMPLE_APP_HK_TLM_TOPICID)
#define SAMPLE_APP_CMD_MID CFE_PLATFORM_CMD_TOPICID_TO_MIDV(CFE_MISSION_SAMPLE_APP_CMD_TOPICID)
#define SAMPLE_APP_SEND_HK_MID CFE_PLATFORM_CMD_TOPICID_TO_MIDV(CFE_MISSION_SAMPLE_APP_SEND_HK_TOPICID)
#define SAMPLE_APP_HK_TLM_MID CFE_PLATFORM_TLM_TOPICID_TO_MIDV(CFE_MISSION_SAMPLE_APP_HK_TLM_TOPICID)

#endif
6 changes: 3 additions & 3 deletions config/default_sample_app_topicids.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#ifndef SAMPLE_APP_TOPICIDS_H
#define SAMPLE_APP_TOPICIDS_H

#define SAMPLE_APP_CMD_TOPICID 0x82
#define SAMPLE_APP_SEND_HK_TOPICID 0x83
#define SAMPLE_APP_HK_TLM_TOPICID 0x83
#define CFE_MISSION_SAMPLE_APP_CMD_TOPICID 0x82
#define CFE_MISSION_SAMPLE_APP_SEND_HK_TOPICID 0x83
#define CFE_MISSION_SAMPLE_APP_HK_TLM_TOPICID 0x83

#endif

0 comments on commit 7ec0602

Please sign in to comment.