Skip to content

Commit

Permalink
Merge pull request #708 from skliper/fix707-msgkey-type-bug
Browse files Browse the repository at this point in the history
Fix #707, Resolve highest MsgID of 0xFFFF bug
  • Loading branch information
astrogeco authored May 20, 2020
2 parents 5727781 + 71f3242 commit 4d78023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmake/sample_defs/cpu1_platform_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@
** The recommended case to to have this value the same across all mission platforms
**
** \par Limits
** This parameter has a lower limit of 1 and an upper limit of 0xFFFF.
** This parameter has a lower limit of 1 and an upper limit of 0xFFFF. Note there
** is one MsgId value reserved as invalid, so the table is this size + 1.
*/
#define CFE_PLATFORM_SB_HIGHEST_VALID_MSGID 0x1FFF

Expand Down
2 changes: 1 addition & 1 deletion fsw/cfe-core/src/sb/cfe_sb_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
** be used directly, except by internal table lookups.
**
*/
typedef uint16 CFE_SB_MsgKey_Atom_t;
typedef uint32 CFE_SB_MsgKey_Atom_t;

/******************************************************************************
** Typedef: CFE_SB_MsgKey_t
Expand Down

0 comments on commit 4d78023

Please sign in to comment.