Skip to content

Commit e278aba

Browse files
authored
Merge pull request #567 from LeeLeahy2/vct-cmd-proc-idle
VCT: Bug fix - Properly wait until the PC commnd processor is idle
2 parents 8876d01 + a789de3 commit e278aba

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)