Skip to content

Commit

Permalink
Fix #96, initialize ListCmdTime with 0
Browse files Browse the repository at this point in the history
  • Loading branch information
havencarlson committed Jul 27, 2023
1 parent e107c4e commit b1c24fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsw/src/sc_atsrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,13 +487,13 @@ void SC_JumpAtsCmd(const CFE_SB_Buffer_t *BufPtr)
SC_AtsEntryHeader_t *Entry; /* ATS table entry pointer */
int32 EntryIndex; /* ATS entry location in table */
SC_AbsTimeTag_t JumpTime; /* the time to jump to in the ATS */
SC_AbsTimeTag_t ListCmdTime; /* list entry execution time */
uint16 AtsIndex; /* index of the ATS that is running */
int32 TimeIndex; /* the current time buffer index */
int32 CmdIndex; /* ATS command index (cmd num - 1) */
char TimeBuffer[CFE_TIME_PRINTED_STRING_SIZE];
CFE_TIME_SysTime_t NewTime;
uint16 NumSkipped;
SC_AbsTimeTag_t ListCmdTime = 0; /* list entry execution time */

if (SC_OperData.AtsCtrlBlckAddr->AtpState == SC_EXECUTING)
{
Expand Down

0 comments on commit b1c24fa

Please sign in to comment.