Decreased the retry counter since it was longer than the timout between client and service
This commit is contained in:
parent
38f4ab6f53
commit
5466a79aad
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ int TellStick::send( const std::string &strMessage ) {
|
||||||
|
|
||||||
delete[] tempMessage;
|
delete[] tempMessage;
|
||||||
|
|
||||||
int retrycnt = 500;
|
int retrycnt = 200;
|
||||||
unsigned char in;
|
unsigned char in;
|
||||||
while(c && --retrycnt) {
|
while(c && --retrycnt) {
|
||||||
ret = ftdi_read_data( &d->ftHandle, &in, 1);
|
ret = ftdi_read_data( &d->ftHandle, &in, 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue