Skip to content
Merged
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
23 changes: 16 additions & 7 deletions fsw/src/sbn_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,13 @@

memset(SBN.MsgBuffer, 0, sizeof(SBN.MsgBuffer));

SBN_Status =
Net->IfOps
->RecvFromPeer(Net, Peer, &PeerMsgType, &PeerMsgSz, &PeerProcessorID, &PeerSpacecraftID, SBN.MsgBuffer);
SBN_Status = Net->IfOps->RecvFromPeer(Net,
Peer,
&PeerMsgType,
&PeerMsgSz,
&PeerProcessorID,
&PeerSpacecraftID,
SBN.MsgBuffer);
Comment thread
ivanperez-keera marked this conversation as resolved.
Dismissed

if (SBN_Status == SBN_IF_EMPTY)
{
Expand All @@ -520,7 +524,12 @@

OS_GetLocalTime(&Peer->LastRecv);

SBN_Status = SBN_ProcessNetMsg(Net, PeerMsgType, PeerProcessorID, PeerSpacecraftID, PeerMsgSz, SBN.MsgBuffer);
SBN_Status = SBN_ProcessNetMsg(Net,
PeerMsgType,
PeerProcessorID,
PeerSpacecraftID,
PeerMsgSz,
SBN.MsgBuffer);

if (SBN_Status != SBN_SUCCESS)
{
Expand Down Expand Up @@ -1086,7 +1095,7 @@

/**
* Load the filters from the table.
* Cleaned up by UnloadModules()
*
* @param[in] FilterModules - The filter module entries in the table.
* @param[in] FilterModuleCnt - The number of entries in FilterModules.
Expand All @@ -1095,9 +1104,9 @@
* @param[out] Filters - The function pointers for the filters requested.
* @return The number of entries in Filters.
*/
static SBN_ModuleIdx_t LoadConf_Filters(SBN_Module_Entry_t *FilterModules,
SBN_ModuleIdx_t FilterModuleCnt,
SBN_FilterInterface_t **ConfFilters, // cppcheck-suppress constParameter
static SBN_ModuleIdx_t LoadConf_Filters(SBN_Module_Entry_t *FilterModules,
SBN_ModuleIdx_t FilterModuleCnt,
SBN_FilterInterface_t *const *ConfFilters,
char ModuleNames[SBN_MAX_FILTERS_PER_PEER][SBN_MAX_MOD_NAME_LEN],
SBN_FilterInterface_t **Filters)
{
Expand Down
Loading