File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -1097,7 +1097,13 @@ void issuePcCommands()
10971097 }
10981098 }
10991099 }
1100+
1101+ //No more PC commands to process
1102+ if (DEBUG_CMD_ISSUE && pcCommandTimer )
1103+ printf ("PC command list empty\n" );
11001104 pcActiveCommand = CMD_LIST_SIZE ;
1105+ pcCommandTimer = 0 ;
1106+ pcCommandVc = MAX_VC ;
11011107 }
11021108}
11031109
@@ -1296,8 +1302,13 @@ bool issueVcCommands(int vcIndex)
12961302 }
12971303 }
12981304 }
1299- virtualCircuitList [vcIndex ].activeCommand = CMD_LIST_SIZE ;
13001305 }
1306+
1307+ //Done processing VC commands
1308+ if (DEBUG_CMD_ISSUE && virtualCircuitList [vcIndex ].commandTimer )
1309+ printf ("VC %d command list empty\n" , vcIndex );
1310+ virtualCircuitList [vcIndex ].activeCommand = CMD_LIST_SIZE ;
1311+ virtualCircuitList [vcIndex ].commandTimer = 0 ;
13011312 }
13021313 }
13031314 return false;
You can’t perform that action at this time.
0 commit comments