Skip to content

Commit

Permalink
Fix nasa#433, Release Prep
Browse files Browse the repository at this point in the history
  • Loading branch information
dmknutsen committed Jan 6, 2020
1 parent 80cc0fe commit 500318c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions fsw/cfe-core/src/time/cfe_time_tone.c
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ void CFE_TIME_ToneSend(void)
CFE_MAKE_BIG32(Reference.AtToneSTCF.Seconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneSTCF.Subseconds =
CFE_MAKE_BIG32(Reference.AtToneSTCF.Subseconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneLeapSeconds =
CFE_MAKE_BIG16(Reference.AtToneLeapSeconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneLeaps =
CFE_MAKE_BIG16(Reference.AtToneLeaps);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneState =
CFE_MAKE_BIG16(AtToneState);

Expand Down Expand Up @@ -288,8 +288,8 @@ int32 CFE_TIME_ToneSendMET(CFE_TIME_SysTime_t NewMET)
CFE_MAKE_BIG32(Reference.AtToneSTCF.Seconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneSTCF.Subseconds =
CFE_MAKE_BIG32(Reference.AtToneSTCF.Subseconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneLeapSeconds =
CFE_MAKE_BIG16(Reference.AtToneLeapSeconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneLeaps =
CFE_MAKE_BIG16(Reference.AtToneLeaps);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneState =
CFE_MAKE_BIG16(ClockState);

Expand Down Expand Up @@ -442,7 +442,7 @@ int32 CFE_TIME_ToneSendGPS(CFE_TIME_SysTime_t NewTime, int16 NewLeaps)
CFE_MAKE_BIG32(NewSTCF.Seconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneSTCF.Subseconds =
CFE_MAKE_BIG32(NewSTCF.Subseconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneLeapSeconds =
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneLeaps =
CFE_MAKE_BIG16(NewLeaps);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneState =
CFE_MAKE_BIG16(ClockState);
Expand Down Expand Up @@ -595,8 +595,8 @@ int32 CFE_TIME_ToneSendTime(CFE_TIME_SysTime_t NewTime)
CFE_MAKE_BIG32(NewSTCF.Seconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneSTCF.Subseconds =
CFE_MAKE_BIG32(NewSTCF.Subseconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneLeapSeconds =
CFE_MAKE_BIG16(Reference.AtToneLeapSeconds);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneLeaps =
CFE_MAKE_BIG16(Reference.AtToneLeaps);
CFE_TIME_TaskData.ToneDataCmd.Payload.AtToneState =
CFE_MAKE_BIG16(ClockState);

Expand Down Expand Up @@ -657,7 +657,7 @@ void CFE_TIME_ToneData(const CFE_TIME_ToneDataCmd_Payload_t *ToneDataCmd)
CFE_MAKE_BIG32(ToneDataCmd->AtToneSTCF.Seconds);
CFE_TIME_TaskData.PendingSTCF.Subseconds =
CFE_MAKE_BIG32(ToneDataCmd->AtToneSTCF.Subseconds);
CFE_TIME_TaskData.PendingLeaps = CFE_MAKE_BIG16(ToneDataCmd->AtToneLeapSeconds);
CFE_TIME_TaskData.PendingLeaps = CFE_MAKE_BIG16(ToneDataCmd->AtToneLeaps);
CFE_TIME_TaskData.PendingState = CFE_MAKE_BIG16(ToneDataCmd->AtToneState);

#else /* !CFE_PLATFORM_TIME_CFG_BIGENDIAN */
Expand Down

0 comments on commit 500318c

Please sign in to comment.