Skip to content

Commit

Permalink
Fix nasa#84, Moving GetNextRtsTime call
Browse files Browse the repository at this point in the history
  • Loading branch information
Tvisha Andharia committed Dec 13, 2024
1 parent 56f3d21 commit 29987bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/src/sc_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,6 @@ void SC_WakeupCmd(const SC_WakeupCmd_t *Cmd)
*/
while (SC_OperData.NumCmdsWakeup < SC_MAX_CMDS_PER_WAKEUP)
{
SC_GetNextRtsTime();

CurrentNumCmds = SC_OperData.NumCmdsWakeup;

/*
Expand All @@ -559,6 +557,8 @@ void SC_WakeupCmd(const SC_WakeupCmd_t *Cmd)

if (CurrentNumCmds == SC_OperData.NumCmdsWakeup)
{
SC_GetNextRtsTime();

SC_ProcessRtpCommand();
}

Expand Down

0 comments on commit 29987bf

Please sign in to comment.