Skip to content

Commit

Permalink
Merge pull request #2381 from jphickey:fix-2378-sb-refactor
Browse files Browse the repository at this point in the history
Fix #2378, refactor SB to support additional use cases
  • Loading branch information
dzbaker committed May 2, 2024
2 parents 0a253d9 + 48dd153 commit 64b6837
Show file tree
Hide file tree
Showing 7 changed files with 2,554 additions and 1,487 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ jobs:
- name: Confirm Minimum Coverage
run: |
missed_branches=50
missed_lines=17
missed_branches=39
missed_lines=19
branch_nums=$(grep -A 3 "Overall coverage rate" lcov_out.txt | grep branches | grep -oP "[0-9]+[0-9]*")
line_nums=$(grep -A 3 "Overall coverage rate" lcov_out.txt | grep lines | grep -oP "[0-9]+[0-9]*")
Expand Down
1,321 changes: 360 additions & 961 deletions modules/sb/fsw/src/cfe_sb_api.c

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion modules/sb/fsw/src/cfe_sb_buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ CFE_SB_BufferD_t *CFE_SB_GetBufferFromPool(size_t MaxMsgSize)
bd = (CFE_SB_BufferD_t *)addr;
memset(bd, 0, CFE_SB_BUFFERD_CONTENT_OFFSET);

bd->MsgId = CFE_SB_INVALID_MSG_ID;
bd->UseCount = 1;
bd->AllocatedSize = AllocSize;

Expand Down
Loading

0 comments on commit 64b6837

Please sign in to comment.