Skip to content

Commit

Permalink
Fix nasa#2393, set AtLeapSeconds in ExternalTone test case
Browse files Browse the repository at this point in the history
Setting this value to 0 allows it to get the same result regardless of
the setting of CFE_MISSION_TIME_CFG_DEFAULT_UTC.
  • Loading branch information
jphickey committed Jul 14, 2023
1 parent 600a209 commit d3ca736
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/time/ut-coverage/time_UT.c
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,7 @@ void Test_External(void)
CFE_TIME_Global.ReferenceState[0].AtToneDelay.Subseconds = 0;
CFE_TIME_Global.ReferenceState[0].AtToneLatch.Seconds = 0;
CFE_TIME_Global.ReferenceState[0].AtToneLatch.Subseconds = 0;
CFE_TIME_Global.ReferenceState[0].AtToneLeapSeconds = 0;
CFE_TIME_Global.MaxDelta.Seconds = 0;
CFE_TIME_Global.MaxDelta.Subseconds = 1;
CFE_TIME_Global.MaxLocalClock.Seconds = 0;
Expand Down

0 comments on commit d3ca736

Please sign in to comment.