Skip to content

Commit

Permalink
Merge pull request #2344 from thnkslprpt:fix-2343-update-syslog-macro
Browse files Browse the repository at this point in the history
Fix #2343, Update CFE_PLATFORM_ES_DEFAULT_SYSLOG_MODE macro in es_verify.h
  • Loading branch information
dzbaker committed Jul 1, 2024
2 parents ab69280 + 008609b commit 319dac1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
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

0 comments on commit 319dac1

Please sign in to comment.