//Try to write the buffer on the Serial port\r
if(!WriteFile(_hSerial, buffer, nbChar, &bytesSend, 0))\r
{\r
- //In case it don't work get comm error and return false\r
+ //In case it doesn't work get comm error and return false\r
ClearCommError(_hSerial, &_errors, &_status);\r
\r
return false;\r
}\r
else\r
{\r
- ClearCommError(_hSerial, &_errors, &_status);\r
+ //ClearCommError(_hSerial, &_errors, &_status);\r
/* if(!FlushFileBuffers(_hSerial))\r
cout << "ERROR while flushing" << endl;*/\r
/* stringstream s;