Skip to content

Commit

Permalink
Fix #2475, rename 1HZ to ONEHZ in symbols
Browse files Browse the repository at this point in the history
This avoids having an identifier that starts with a digit
in the case that the CFE_TIME_ prefix is not needed/used.
  • Loading branch information
jphickey committed Dec 7, 2023
1 parent f3cdfbe commit 1d6a761
Show file tree
Hide file tree
Showing 14 changed files with 82 additions and 74 deletions.
5 changes: 2 additions & 3 deletions cmake/sample_defs/example_platform_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,7 @@
*/
#define CFE_PLATFORM_TIME_START_TASK_PRIORITY 60
#define CFE_PLATFORM_TIME_TONE_TASK_PRIORITY 25
#define CFE_PLATFORM_TIME_1HZ_TASK_PRIORITY 25
#define CFE_PLATFORM_TIME_ONEHZ_TASK_PRIORITY 25

/**
** \cfetimecfg Define TIME Task Stack Sizes
Expand All @@ -1744,7 +1744,6 @@
*/
#define CFE_PLATFORM_TIME_START_TASK_STACK_SIZE CFE_PLATFORM_ES_DEFAULT_STACK_SIZE
#define CFE_PLATFORM_TIME_TONE_TASK_STACK_SIZE 4096
#define CFE_PLATFORM_TIME_1HZ_TASK_STACK_SIZE 8192
#define CFE_PLATFORM_TIME_ONEHZ_TASK_STACK_SIZE 8192

#endif /* EXAMPLE_PLATFORM_CFG_H */

4 changes: 2 additions & 2 deletions docs/src/cfe_time.dox
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@
TIME provides the ability to command a one time adjustment
(#CFE_TIME_ADD_ADJUST_CC and #CFE_TIME_SUB_ADJUST_CC)
to the current STCF. In addition there is a 1Hz adjustment
(#CFE_TIME_ADD_1HZ_ADJUSTMENT_CC and #CFE_TIME_SUB_1HZ_ADJUSTMENT_CC)
(#CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC and #CFE_TIME_SUB_ONEHZ_ADJUSTMENT_CC)
that can be made to the STCF to compensate for oscillator drift.
Mission specific ground correlation should be used to assist in
determining the proper values to use. The Leap Seconds should be
Expand All @@ -671,7 +671,7 @@
to by the other systems.

\sa #CFE_TIME_ADD_ADJUST_CC, #CFE_TIME_SUB_ADJUST_CC, #CFE_TIME_SET_STCF_CC,
#CFE_TIME_ADD_1HZ_ADJUSTMENT_CC, #CFE_TIME_SUB_1HZ_ADJUSTMENT_CC, #CFE_TIME_SET_LEAP_SECONDS_CC
#CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC, #CFE_TIME_SUB_ONEHZ_ADJUSTMENT_CC, #CFE_TIME_SET_LEAP_SECONDS_CC
**/


Expand Down
22 changes: 11 additions & 11 deletions modules/time/config/default_cfe_time_fcncodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@
** Inappropriately setting the clock may result in other sub-systems performing incorrect
** time based calculations. The specific risk is dependent upon the behavior of those sub-systems.
**
** \sa #CFE_TIME_ADD_ADJUST_CC, #CFE_TIME_SUB_ADJUST_CC, #CFE_TIME_ADD_1HZ_ADJUSTMENT_CC,
*#CFE_TIME_SUB_1HZ_ADJUSTMENT_CC
** \sa #CFE_TIME_ADD_ADJUST_CC, #CFE_TIME_SUB_ADJUST_CC, #CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC,
*#CFE_TIME_SUB_ONEHZ_ADJUSTMENT_CC
*/
#define CFE_TIME_ADD_ADJUST_CC 11 /* add one time STCF adjustment */

Expand Down Expand Up @@ -550,7 +550,7 @@
** Inappropriately setting the clock may result in other sub-systems performing incorrect
** time based calculations. The specific risk is dependent upon the behavior of those sub-systems.
**
** \sa #CFE_TIME_ADD_ADJUST_CC, #CFE_TIME_ADD_1HZ_ADJUSTMENT_CC, #CFE_TIME_SUB_1HZ_ADJUSTMENT_CC
** \sa #CFE_TIME_ADD_ADJUST_CC, #CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC, #CFE_TIME_SUB_ONEHZ_ADJUSTMENT_CC
*/
#define CFE_TIME_SUB_ADJUST_CC 12 /* subtract one time STCF adjustment */

Expand Down Expand Up @@ -584,21 +584,21 @@
** - \b \c \TIME_CMDPC - command execution counter will increment
** - \b \c \TIME_STCFSECS - Housekeeping Telemetry point indicating new STCF seconds value
** - \b \c \TIME_STCFSUBSECS - Housekeeping Telemetry point indicating new STCF subseconds value
** - The #CFE_TIME_1HZ_EID informational event message will be generated
** - The #CFE_TIME_ONEHZ_EID informational event message will be generated
**
** \par Error Conditions
** - Platform receiving the command is not a Time Server
** <BR><BR>Evidence of Failure may be found in the following telemetry:
** - \b \c \TIME_CMDEC - command error counter will increment
** - Error specific event message will be issued (#CFE_TIME_1HZ_CFG_EID)
** - Error specific event message will be issued (#CFE_TIME_ONEHZ_CFG_EID)
**
** \par Criticality
** Inappropriately setting the clock may result in other sub-systems performing incorrect
** time based calculations. The specific risk is dependent upon the behavior of those sub-systems.
**
** \sa #CFE_TIME_ADD_ADJUST_CC, #CFE_TIME_SUB_ADJUST_CC, #CFE_TIME_SUB_1HZ_ADJUSTMENT_CC
** \sa #CFE_TIME_ADD_ADJUST_CC, #CFE_TIME_SUB_ADJUST_CC, #CFE_TIME_SUB_ONEHZ_ADJUSTMENT_CC
*/
#define CFE_TIME_ADD_1HZ_ADJUSTMENT_CC 13 /* add 1Hz STCF adjustment */
#define CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC 13 /* add 1Hz STCF adjustment */

/** \cfetimecmd Subtract Delta from Spacecraft Time Correlation Factor each 1Hz
**
Expand Down Expand Up @@ -632,21 +632,21 @@
** - \b \c \TIME_CMDPC - command execution counter will increment
** - \b \c \TIME_STCFSECS - Housekeeping Telemetry point indicating new STCF seconds value
** - \b \c \TIME_STCFSUBSECS - Housekeeping Telemetry point indicating new STCF subseconds value
** - The #CFE_TIME_1HZ_EID informational event message will be generated
** - The #CFE_TIME_ONEHZ_EID informational event message will be generated
**
** \par Error Conditions
** - Platform receiving the command is not a Time Server
** <BR><BR>Evidence of Failure may be found in the following telemetry:
** - \b \c \TIME_CMDEC - command error counter will increment
** - Error specific event message will be issued (#CFE_TIME_1HZ_CFG_EID)
** - Error specific event message will be issued (#CFE_TIME_ONEHZ_CFG_EID)
**
** \par Criticality
** Inappropriately setting the clock may result in other sub-systems performing incorrect
** time based calculations. The specific risk is dependent upon the behavior of those sub-systems.
**
** \sa #CFE_TIME_ADD_ADJUST_CC, #CFE_TIME_SUB_ADJUST_CC, #CFE_TIME_ADD_1HZ_ADJUSTMENT_CC
** \sa #CFE_TIME_ADD_ADJUST_CC, #CFE_TIME_SUB_ADJUST_CC, #CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC
*/
#define CFE_TIME_SUB_1HZ_ADJUSTMENT_CC 14 /* subtract 1Hz STCF adjustment */
#define CFE_TIME_SUB_ONEHZ_ADJUSTMENT_CC 14 /* subtract 1Hz STCF adjustment */

/** \cfetimecmd Set Tone Signal Source
**
Expand Down
4 changes: 2 additions & 2 deletions modules/time/config/default_cfe_time_internal_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
*/
#define CFE_PLATFORM_TIME_START_TASK_PRIORITY 60
#define CFE_PLATFORM_TIME_TONE_TASK_PRIORITY 25
#define CFE_PLATFORM_TIME_1HZ_TASK_PRIORITY 25
#define CFE_PLATFORM_TIME_ONEHZ_TASK_PRIORITY 25

/**
** \cfetimecfg Define TIME Task Stack Sizes
Expand All @@ -238,6 +238,6 @@
*/
#define CFE_PLATFORM_TIME_START_TASK_STACK_SIZE CFE_PLATFORM_ES_DEFAULT_STACK_SIZE
#define CFE_PLATFORM_TIME_TONE_TASK_STACK_SIZE 4096
#define CFE_PLATFORM_TIME_1HZ_TASK_STACK_SIZE 8192
#define CFE_PLATFORM_TIME_ONEHZ_TASK_STACK_SIZE 8192

#endif
11 changes: 10 additions & 1 deletion modules/time/config/default_cfe_time_msgids.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#define CFE_TIME_CMD_MID CFE_PLATFORM_CMD_TOPICID_TO_MIDV(CFE_MISSION_TIME_CMD_TOPICID) /* 0x1805 */
#define CFE_TIME_SEND_HK_MID CFE_PLATFORM_CMD_TOPICID_TO_MIDV(CFE_MISSION_TIME_SEND_HK_TOPICID) /* 0x180D */
#define CFE_TIME_TONE_CMD_MID CFE_PLATFORM_CMD_TOPICID_TO_MIDV(CFE_MISSION_TIME_TONE_CMD_TOPICID) /* 0x1810 */
#define CFE_TIME_1HZ_CMD_MID CFE_PLATFORM_CMD_TOPICID_TO_MIDV(CFE_MISSION_TIME_1HZ_CMD_TOPICID) /* 0x1811 */
#define CFE_TIME_ONEHZ_CMD_MID CFE_PLATFORM_CMD_TOPICID_TO_MIDV(CFE_MISSION_TIME_ONEHZ_CMD_TOPICID) /* 0x1811 */

/*
** cFE Global Command Message Id's
Expand All @@ -46,4 +46,13 @@
#define CFE_TIME_HK_TLM_MID CFE_PLATFORM_TLM_TOPICID_TO_MIDV(CFE_MISSION_TIME_HK_TLM_TOPICID) /* 0x0805 */
#define CFE_TIME_DIAG_TLM_MID CFE_PLATFORM_TLM_TOPICID_TO_MIDV(CFE_MISSION_TIME_DIAG_TLM_TOPICID) /* 0x0806 */

#ifndef CFE_OMIT_DEPRECATED
/*
* This name was changed/deprecated because technically it constitutes an
* identifier that starts with a digit (1) when the CFE_TIME_ namespace
* qualifier is removed. This matters in some circumstances.
*/
#define CFE_TIME_1HZ_CMD_MID CFE_TIME_ONEHZ_CMD_MID
#endif

#endif
2 changes: 1 addition & 1 deletion modules/time/config/default_cfe_time_topicids.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#define CFE_MISSION_TIME_CMD_TOPICID 5
#define CFE_MISSION_TIME_SEND_HK_TOPICID 13
#define CFE_MISSION_TIME_TONE_CMD_TOPICID 16
#define CFE_MISSION_TIME_1HZ_CMD_TOPICID 17
#define CFE_MISSION_TIME_ONEHZ_CMD_TOPICID 17

/**
** \cfemissioncfg cFE Portable Message Numbers for Global Messages
Expand Down
8 changes: 4 additions & 4 deletions modules/time/eds/cfe_time.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1126,14 +1126,14 @@
- \b \c \TIME_CMDPC - command execution counter will increment
- \b \c \TIME_STCFSECS - Housekeeping Telemetry point indicating new STCF seconds value
- \b \c \TIME_STCFSUBSECS - Housekeeping Telemetry point indicating new STCF subseconds value
- The #CFE_TIME_1HZ_EID informational event message will be generated
- The #CFE_TIME_ONEHZ_EID informational event message will be generated

\par Error Conditions
- Platform receiving the command is not a Time Server

Evidence of Failure may be found in the following telemetry:
- \b \c \TIME_CMDEC - command error counter will increment
- Error specific event message will be issued (#CFE_TIME_1HZ_CFG_EID)
- Error specific event message will be issued (#CFE_TIME_ONEHZ_CFG_EID)

\par Criticality
Inappropriately setting the clock may result in other sub-systems performing incorrect
Expand Down Expand Up @@ -1182,14 +1182,14 @@
- \b \c \TIME_CMDPC - command execution counter will increment
- \b \c \TIME_STCFSECS - Housekeeping Telemetry point indicating new STCF seconds value
- \b \c \TIME_STCFSUBSECS - Housekeeping Telemetry point indicating new STCF subseconds value
- The #CFE_TIME_1HZ_EID informational event message will be generated
- The #CFE_TIME_ONEHZ_EID informational event message will be generated

\par Error Conditions
- Platform receiving the command is not a Time Server

Evidence of Failure may be found in the following telemetry:
- \b \c \TIME_CMDEC - command error counter will increment
- Error specific event message will be issued (#CFE_TIME_1HZ_CFG_EID)
- Error specific event message will be issued (#CFE_TIME_ONEHZ_CFG_EID)

\par Criticality
Inappropriately setting the clock may result in other sub-systems performing incorrect
Expand Down
12 changes: 6 additions & 6 deletions modules/time/fsw/inc/cfe_time_eventids.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@
*
* \par Cause:
*
* \link #CFE_TIME_ADD_1HZ_ADJUSTMENT_CC TIME Add STCF Adjustment Each Second Command \endlink OR
* \link #CFE_TIME_SUB_1HZ_ADJUSTMENT_CC TIME Subtract STCF Adjustment Each Second Command \endlink success.
* \link #CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC TIME Add STCF Adjustment Each Second Command \endlink OR
* \link #CFE_TIME_SUB_ONEHZ_ADJUSTMENT_CC TIME Subtract STCF Adjustment Each Second Command \endlink success.
*/
#define CFE_TIME_1HZ_EID 16
#define CFE_TIME_ONEHZ_EID 16

/**
* \brief TIME Set Leap Seconds Command Success Event ID
Expand Down Expand Up @@ -431,11 +431,11 @@
*
* \par Cause:
*
* \link #CFE_TIME_ADD_1HZ_ADJUSTMENT_CC TIME Add STCF Adjustment Each Second Command \endlink OR
* \link #CFE_TIME_SUB_1HZ_ADJUSTMENT_CC TIME Subtract STCF Adjustment Each Second Command \endlink
* \link #CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC TIME Add STCF Adjustment Each Second Command \endlink OR
* \link #CFE_TIME_SUB_ONEHZ_ADJUSTMENT_CC TIME Subtract STCF Adjustment Each Second Command \endlink
* failure due to being in an incompatible mode.
*/
#define CFE_TIME_1HZ_CFG_EID 48
#define CFE_TIME_ONEHZ_CFG_EID 48

/**
* \brief TIME Invalid Command Length Event ID
Expand Down
6 changes: 3 additions & 3 deletions modules/time/fsw/src/cfe_time_dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void CFE_TIME_TaskPipe(const CFE_SB_Buffer_t *SBBufPtr)
/*
** Run time state machine at 1Hz...
*/
case CFE_TIME_1HZ_CMD_MID:
case CFE_TIME_ONEHZ_CMD_MID:
CFE_TIME_OneHzCmd((const CFE_TIME_1HzCmd_t *)SBBufPtr);
break;

Expand Down Expand Up @@ -226,14 +226,14 @@ void CFE_TIME_TaskPipe(const CFE_SB_Buffer_t *SBBufPtr)
}
break;

case CFE_TIME_ADD_1HZ_ADJUSTMENT_CC:
case CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC:
if (CFE_TIME_VerifyCmdLength(&SBBufPtr->Msg, sizeof(CFE_TIME_Add1HZAdjustmentCmd_t)))
{
CFE_TIME_Add1HZAdjustmentCmd((const CFE_TIME_Add1HZAdjustmentCmd_t *)SBBufPtr);
}
break;

case CFE_TIME_SUB_1HZ_ADJUSTMENT_CC:
case CFE_TIME_SUB_ONEHZ_ADJUSTMENT_CC:
if (CFE_TIME_VerifyCmdLength(&SBBufPtr->Msg, sizeof(CFE_TIME_Sub1HZAdjustmentCmd_t)))
{
CFE_TIME_Sub1HZAdjustmentCmd((const CFE_TIME_Sub1HZAdjustmentCmd_t *)SBBufPtr);
Expand Down
16 changes: 8 additions & 8 deletions modules/time/fsw/src/cfe_time_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ int32 CFE_TIME_TaskInit(void)
return CFE_STATUS_EXTERNAL_RESOURCE_FAIL;
}

OsStatus = OS_BinSemCreate(&CFE_TIME_Global.LocalSemaphore, CFE_TIME_SEM_1HZ_NAME, CFE_TIME_SEM_VALUE,
OsStatus = OS_BinSemCreate(&CFE_TIME_Global.LocalSemaphore, CFE_TIME_SEM_ONEHZ_NAME, CFE_TIME_SEM_VALUE,
CFE_TIME_SEM_OPTIONS);
if (OsStatus != OS_SUCCESS)
{
Expand All @@ -160,9 +160,9 @@ int32 CFE_TIME_TaskInit(void)
return Status;
}

Status = CFE_ES_CreateChildTask(&CFE_TIME_Global.LocalTaskID, CFE_TIME_TASK_1HZ_NAME, CFE_TIME_Local1HzTask,
CFE_TIME_TASK_STACK_PTR, CFE_PLATFORM_TIME_1HZ_TASK_STACK_SIZE,
CFE_PLATFORM_TIME_1HZ_TASK_PRIORITY, CFE_TIME_TASK_FLAGS);
Status = CFE_ES_CreateChildTask(&CFE_TIME_Global.LocalTaskID, CFE_TIME_TASK_ONEHZ_NAME, CFE_TIME_Local1HzTask,
CFE_TIME_TASK_STACK_PTR, CFE_PLATFORM_TIME_ONEHZ_TASK_STACK_SIZE,
CFE_PLATFORM_TIME_ONEHZ_TASK_PRIORITY, CFE_TIME_TASK_FLAGS);
if (Status != CFE_SUCCESS)
{
CFE_ES_WriteToSysLog("%s: Error creating local 1Hz child task:RC=0x%08X\n", __func__, (unsigned int)Status);
Expand Down Expand Up @@ -221,11 +221,11 @@ int32 CFE_TIME_TaskInit(void)
** Subscribe to 1Hz signal commands...
*/
#if (CFE_PLATFORM_TIME_CFG_CLIENT == true)
Status = CFE_SB_Subscribe(CFE_SB_ValueToMsgId(CFE_TIME_1HZ_CMD_MID), CFE_TIME_Global.CmdPipe);
Status = CFE_SB_Subscribe(CFE_SB_ValueToMsgId(CFE_TIME_ONEHZ_CMD_MID), CFE_TIME_Global.CmdPipe);
#endif

#if (CFE_PLATFORM_TIME_CFG_SERVER == true)
Status = CFE_SB_SubscribeLocal(CFE_SB_ValueToMsgId(CFE_TIME_1HZ_CMD_MID), CFE_TIME_Global.CmdPipe,
Status = CFE_SB_SubscribeLocal(CFE_SB_ValueToMsgId(CFE_TIME_ONEHZ_CMD_MID), CFE_TIME_Global.CmdPipe,
CFE_PLATFORM_SB_DEFAULT_MSG_LIMIT);
#endif

Expand Down Expand Up @@ -1051,7 +1051,7 @@ void CFE_TIME_1HzAdjImpl(const CFE_TIME_OneHzAdjustmentCmd_Payload_t *CommandPtr
CFE_TIME_Set1HzAdj(Adjust, Direction);

CFE_TIME_Global.CommandCounter++;
CFE_EVS_SendEvent(CFE_TIME_1HZ_EID, CFE_EVS_EventType_INFORMATION,
CFE_EVS_SendEvent(CFE_TIME_ONEHZ_EID, CFE_EVS_EventType_INFORMATION,
"STCF 1Hz Adjust -- secs = %d, ssecs = 0x%X, dir[1=Pos, 2=Neg] = %d", (int)CommandPtr->Seconds,
(unsigned int)CommandPtr->Subseconds, (int)Direction);

Expand All @@ -1061,7 +1061,7 @@ void CFE_TIME_1HzAdjImpl(const CFE_TIME_OneHzAdjustmentCmd_Payload_t *CommandPtr
*/
CFE_TIME_Global.CommandErrorCounter++;

CFE_EVS_SendEvent(CFE_TIME_1HZ_CFG_EID, CFE_EVS_EventType_ERROR,
CFE_EVS_SendEvent(CFE_TIME_ONEHZ_CFG_EID, CFE_EVS_EventType_ERROR,
"1Hz Adjust commands invalid without CFE_PLATFORM_TIME_CFG_SERVER set to TRUE");

#endif /* CFE_PLATFORM_TIME_CFG_SERVER */
Expand Down
2 changes: 1 addition & 1 deletion modules/time/fsw/src/cfe_time_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ void CFE_TIME_InitData(void)
/*
** Initialize local 1Hz "wake-up" command packet (optional)...
*/
CFE_MSG_Init(CFE_MSG_PTR(CFE_TIME_Global.Local1HzCmd.CommandHeader), CFE_SB_ValueToMsgId(CFE_TIME_1HZ_CMD_MID),
CFE_MSG_Init(CFE_MSG_PTR(CFE_TIME_Global.Local1HzCmd.CommandHeader), CFE_SB_ValueToMsgId(CFE_TIME_ONEHZ_CMD_MID),
sizeof(CFE_TIME_Global.Local1HzCmd));
}

Expand Down
16 changes: 8 additions & 8 deletions modules/time/fsw/src/cfe_time_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@
/*
** Interrupt task definitions...
*/
#define CFE_TIME_TASK_TONE_NAME "TIME_TONE_TASK"
#define CFE_TIME_TASK_1HZ_NAME "TIME_1HZ_TASK"
#define CFE_TIME_TASK_STACK_PTR CFE_ES_TASK_STACK_ALLOCATE
#define CFE_TIME_TASK_FLAGS 0
#define CFE_TIME_TASK_TONE_NAME "TIME_TONE_TASK"
#define CFE_TIME_TASK_ONEHZ_NAME "TIME_ONEHZ_TASK"
#define CFE_TIME_TASK_STACK_PTR CFE_ES_TASK_STACK_ALLOCATE
#define CFE_TIME_TASK_FLAGS 0

/*
** Interrupt semaphore definitions...
*/
#define CFE_TIME_SEM_TONE_NAME "TIME_TONE_SEM"
#define CFE_TIME_SEM_1HZ_NAME "TIME_1HZ_SEM"
#define CFE_TIME_SEM_VALUE 0
#define CFE_TIME_SEM_OPTIONS 0
#define CFE_TIME_SEM_TONE_NAME "TIME_TONE_SEM"
#define CFE_TIME_SEM_ONEHZ_NAME "TIME_ONEHZ_SEM"
#define CFE_TIME_SEM_VALUE 0
#define CFE_TIME_SEM_OPTIONS 0

/*
** Main Task Pipe definitions...
Expand Down
12 changes: 6 additions & 6 deletions modules/time/fsw/src/cfe_time_verify.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@
#elif CFE_PLATFORM_TIME_TONE_TASK_PRIORITY > 255
#error CFE_PLATFORM_TIME_TONE_TASK_PRIORITY must be less than or equal to 255
#endif
#if CFE_PLATFORM_TIME_1HZ_TASK_PRIORITY < 0
#error CFE_PLATFORM_TIME_1HZ_TASK_PRIORITY must be greater than or equal to zero
#elif CFE_PLATFORM_TIME_1HZ_TASK_PRIORITY > 255
#error CFE_PLATFORM_TIME_1HZ_TASK_PRIORITY must be less than or equal to 255
#if CFE_PLATFORM_TIME_ONEHZ_TASK_PRIORITY < 0
#error CFE_PLATFORM_TIME_ONEHZ_TASK_PRIORITY must be greater than or equal to zero
#elif CFE_PLATFORM_TIME_ONEHZ_TASK_PRIORITY > 255
#error CFE_PLATFORM_TIME_ONEHZ_TASK_PRIORITY must be less than or equal to 255
#endif

/*
Expand All @@ -176,8 +176,8 @@
#error CFE_PLATFORM_TIME_TONE_TASK_STACK_SIZE must be greater than or equal to 2048
#endif

#if CFE_PLATFORM_TIME_1HZ_TASK_STACK_SIZE < 2048
#error CFE_PLATFORM_TIME_1HZ_TASK_STACK_SIZE must be greater than or equal to 2048
#if CFE_PLATFORM_TIME_ONEHZ_TASK_STACK_SIZE < 2048
#error CFE_PLATFORM_TIME_ONEHZ_TASK_STACK_SIZE must be greater than or equal to 2048
#endif

/*************************************************************************/
Expand Down
Loading

0 comments on commit 1d6a761

Please sign in to comment.