Skip to content

Commit

Permalink
Fix nasa#222, add CFE_MISSION prefix to topicids
Browse files Browse the repository at this point in the history
  • Loading branch information
jphickey committed Dec 13, 2023
1 parent 7ad8874 commit 23c0440
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 23c0440

Please sign in to comment.