Skip to content

Commit

Permalink
Merge IC:Caelum-rc4+dev11, to_lab v2.5.0-rc4+dev21
Browse files Browse the repository at this point in the history
- Remove registration of empty EVS filters
- Update codeql workflow for reusable updates
- See <nasa/cFS#505>
  • Loading branch information
astrogeco committed Jun 22, 2022
2 parents 21d562c + baa9988 commit fc9550a
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions fsw/src/to_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ TO_LAB_GlobalData_t TO_LAB_Global;

TO_LAB_Subs_t * TO_LAB_Subs;
CFE_TBL_Handle_t TO_SubTblHandle;
/*
** Event Filter Table
*/
static CFE_EVS_BinFilter_t CFE_TO_EVS_Filters[] = {/* Event ID mask */
{TO_INIT_INF_EID, 0x0000}, {TO_CRCMDPIPE_ERR_EID, 0x0000},
{TO_SUBSCRIBE_ERR_EID, 0x0000}, {TO_TLMOUTSOCKET_ERR_EID, 0x0000},
{TO_TLMOUTSTOP_ERR_EID, 0x0000}, {TO_MSGID_ERR_EID, 0x0000},
{TO_FNCODE_ERR_EID, 0x0000}, {TO_NOOP_INF_EID, 0x0000}};

/*
** Prototypes Section
Expand Down Expand Up @@ -152,10 +144,9 @@ int32 TO_LAB_init(void)
strcpy(ToTlmPipeName, "TO_LAB_TLM_PIPE");

/*
** Register event filter table...
** Register with EVS
*/
CFE_EVS_Register(CFE_TO_EVS_Filters, sizeof(CFE_TO_EVS_Filters) / sizeof(CFE_EVS_BinFilter_t),
CFE_EVS_EventFilter_BINARY);
CFE_EVS_Register(NULL, 0, CFE_EVS_EventFilter_BINARY);
/*
** Initialize housekeeping packet (clear user data area)...
*/
Expand Down

0 comments on commit fc9550a

Please sign in to comment.