Skip to content

Commit a789de3

Browse files
committed
VCT: Bug fix - Properly wait until the PC commnd processor is idle
1 parent c65d978 commit a789de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/Tools/VcServerTest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ bool issueVcCommands(int vcIndex)
12241224

12251225
case CMD_WAIT_CONNECTED:
12261226
if ((virtualCircuitList[vcIndex].vcState != VC_STATE_CONNECTED)
1227-
|| commandProcessorBusy(vcIndex))
1227+
|| (!commandProcessorIdle(vcIndex)))
12281228
{
12291229
//Mark the list as empty to allow this entry to be executed again
12301230
virtualCircuitList[vcIndex].activeCommand = CMD_LIST_SIZE;

0 commit comments

Comments
 (0)