Skip to content

Fix #69, Address errors, style findings from cppcheck - #72

Merged
ivanperez-keera merged 19 commits into
devfrom
dev-cppcheck
Apr 10, 2026
Merged

ivanperez-keera merged 19 commits into
devfrom
dev-cppcheck

Conversation

@ivanperez-keera

Copy link
Copy Markdown
Member

Address all errors and style issues found by cppcheck.

Comment thread fsw/src/sbn_pack.c
{
uint16 D;
if (!Unpack_Data(Pack, &D, sizeof(D)))
if (!Unpack_Data(PackPtr, &D, sizeof(D)))
Comment thread fsw/src/sbn_pack.c
{
int16 D;
if (!Unpack_Data(Pack, &D, sizeof(D)))
if (!Unpack_Data(PackPtr, &D, sizeof(D)))
Comment thread fsw/src/sbn_pack.c
{
uint32 D;
if (!Unpack_Data(Pack, &D, sizeof(D)))
if (!Unpack_Data(PackPtr, &D, sizeof(D)))
Comment thread fsw/src/sbn_pack.c
{
OS_time_t D;
if (!Unpack_Data(Pack, &D, sizeof(D)))
if (!Unpack_Data(PackPtr, &D, sizeof(D)))
Comment thread fsw/src/sbn_pack.c
{
uint32 D;
if (!Unpack_Data(Pack, &D, sizeof(D)))
if (!Unpack_Data(PackPtr, &D, sizeof(D)))
Comment thread fsw/src/sbn_app.c Fixed
@ivanperez-keera

Copy link
Copy Markdown
Member Author

I have tested this PR with TCP and UDP by sending a Sample App Noop in CPU2 and checking that it is received by the running Sample App in CPU1.

I've also executed the unit tests of SBN and checked that they all pass without failures.

Consequently, I'm marking this as ready for review.

@ivanperez-keera
ivanperez-keera marked this pull request as ready for review April 9, 2026 17:23
@ivanperez-keera
ivanperez-keera merged commit 843e733 into dev Apr 10, 2026
10 of 13 checks passed
@ivanperez-keera
ivanperez-keera deleted the dev-cppcheck branch April 10, 2026 01:59
@ivanperez-keera ivanperez-keera added this to the v7.0.1 milestone Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants