Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #2343, Update CFE_PLATFORM_ES_DEFAULT_SYSLOG_MODE macro in es_verify.h #2344

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
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
19 changes: 14 additions & 5 deletions modules/es/fsw/src/cfe_es_verify.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,21 @@
#endif

/*
** SysLog mode
** Default System Log Mode following Power On Reset
*/
#if CFE_PLATFORM_ES_DEFAULT_SYSLOG_MODE < 0
#error CFE_PLATFORM_ES_DEFAULT_SYSLOG_MODE cannot be less than 0!
#elif CFE_PLATFORM_ES_DEFAULT_SYSLOG_MODE > 1
#error CFE_PLATFORM_ES_DEFAULT_SYSLOG_MODE cannot be greater than 1!
#if CFE_PLATFORM_ES_DEFAULT_POR_SYSLOG_MODE < 0
#error CFE_PLATFORM_ES_DEFAULT_POR_SYSLOG_MODE cannot be less than 0!
#elif CFE_PLATFORM_ES_DEFAULT_POR_SYSLOG_MODE > 1
#error CFE_PLATFORM_ES_DEFAULT_POR_SYSLOG_MODE cannot be greater than 1!
#endif

/*
** Default System Log Mode following Processor Reset
*/
#if CFE_PLATFORM_ES_DEFAULT_PR_SYSLOG_MODE < 0
#error CFE_PLATFORM_ES_DEFAULT_PR_SYSLOG_MODE cannot be less than 0!
#elif CFE_PLATFORM_ES_DEFAULT_PR_SYSLOG_MODE > 1
#error CFE_PLATFORM_ES_DEFAULT_PR_SYSLOG_MODE cannot be greater than 1!
#endif

/*
Expand Down
2 changes: 1 addition & 1 deletion modules/tbl/config/default_cfe_tbl_internal_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
** This number must be less than 32767. It should be recognized that this parameter
** determines the size of the Critical Table Registry which is maintained in the Critical
** Data Store. An excessively high number will waste Critical Data Store memory. Therefore,
** this number must not exceed the value defined in CFE_ES_CDS_MAX_CRITICAL_TABLES.
** this number must not exceed the value defined in CFE_PLATFORM_ES_CDS_MAX_NUM_ENTRIES.
*/
#define CFE_PLATFORM_TBL_MAX_CRITICAL_TABLES 32

Expand Down