Decreased the retry counter since it was longer than the timout between client and service

This commit is contained in:
Micke Prag 2011-03-07 09:59:56 +00:00
parent 38f4ab6f53
commit 5466a79aad

View file

@ -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);