Skip to content

Commit 2c3bcab

Browse files
committed
VCT: Add ISSUE_COMMANDS_IN_PARALLEL to issue VC commands in parallel
1 parent a789de3 commit 2c3bcab

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Firmware/Tools/VcServerTest.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <sys/time.h>
44
#include "settings.h"
55

6+
#define ISSUE_COMMANDS_IN_PARALLEL 1
67
#ifndef POLL_TIMEOUT_USEC
78
#define POLL_TIMEOUT_USEC 1000
89
#endif // POLL_TIMEOUT_USEC
@@ -1487,8 +1488,10 @@ int main(int argc, char **argv)
14871488
break;
14881489
if (issueVcCommands(vcIndex))
14891490
{
1490-
continue;
1491-
// break;
1491+
if (ISSUE_COMMANDS_IN_PARALLEL)
1492+
continue;
1493+
else
1494+
break;
14921495
}
14931496
}
14941497
}

0 commit comments

Comments
 (0)