Skip to content

Commit

Permalink
Fix nasa#2004, Update deprecated binary filter constant in Dev Guide
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Apr 19, 2024
1 parent 28a5820 commit 88034b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/cFE Application Developers Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,7 @@ where a filter mask is logically "anded" with a counter value in order
to generate a filter value. When the filter value is greater than zero
the message is filtered. When the filter value is equal to zero the
message is sent. This filtering scheme is specified during Application
registration with the `CFE_EVS_BINARY_FILTER` parameter.
registration with the `CFE_EVS_EventFilter_BINARY` parameter.

The EVS binary filter structure type, shown below, contains an Event ID
along with a hexadecimal bit mask. The Event ID is a numeric literal
Expand All @@ -2428,7 +2428,7 @@ Several common bit masks are defined within the EVS. These include:

Applications may also create and use their own hexadecimal bit masks.
When applications register event filters with the
`CFE_EVS_BINARY_FILTER` scheme a filter counter is created for each
`CFE_EVS_EventFilter_BINARY` scheme a filter counter is created for each
Event ID contained in the binary filter structure. The binary event
filtering is accomplished by "anding" the hexadecimal bit mask with the
current value of the event filter counter. When the result is zero the
Expand Down Expand Up @@ -2497,7 +2497,7 @@ SAMPLE_AppData_t SAMPLE_AppData; /* Instantiate Task Data */
*/
CFE_EVS_Register(SAMPLE_AppData.EventFilters,
SAMPLE_EVT_COUNT,
CFE_EVS_BINARY_FILTER);
CFE_EVS_EventFilter_BINARY);

...
}
Expand Down

0 comments on commit 88034b1

Please sign in to comment.