Skip to content

Commit bdf6737

Browse files
authored
Merge pull request #545 from LeeLeahy2/vct-stall-timeout
VCT: Reduce stall check from 15 seconds to 5 seconds
2 parents 23e5d4c + 1d802f3 commit bdf6737

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firmware/Tools/VcServerTest.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
#define POLL_TIMEOUT_USEC 1000
88
#endif // POLL_TIMEOUT_USEC
99

10-
#define ONE_SECOND_COUNT 20 // (1000000 / POLL_TIMEOUT_USEC)
10+
#define ONE_SECOND_COUNT (1000000 / POLL_TIMEOUT_USEC)
1111
#define COMMAND_POLL_COUNT (ONE_SECOND_COUNT / 10) //100 mSec
12-
#define STALL_CHECK_COUNT 15 * ONE_SECOND_COUNT //15 Sec
12+
#define STALL_CHECK_COUNT 5 * ONE_SECOND_COUNT //5 Sec
1313

1414
#define BUFFER_SIZE 2048
1515
#define INPUT_BUFFER_SIZE BUFFER_SIZE

0 commit comments

Comments
 (0)