Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #62, make entity ID default to 32 bit #159

Merged
merged 1 commit into from
Jan 12, 2022
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion fsw/platform_inc/cf_platform_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
** \par Limits
** Must be one of uint8, uint16, uint32, uint64.
*/
typedef uint8 CF_EntityId_t;
typedef uint32 CF_EntityId_t;

/**
** \cfcfg transaction sequence number size
Expand Down
3 changes: 2 additions & 1 deletion fsw/src/cf_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ typedef struct CF_TransactionCmd
CFE_MSG_CommandHeader_t cmd_header;
CF_TransactionSeq_t ts;
CF_EntityId_t eid;
uint8 chan; /* if 254, use ts. if 255, all channels */
uint8 chan; /* if 254, use ts. if 255, all channels */
uint8 spare[3]; /* To make structure a multiple of uint32 */
} CF_TransactionCmd_t;

#endif /* !CF_MSG_H */