git-svn-id: svn://db.shs.com.ru/pip@260 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -623,7 +623,7 @@ int PISerial::read(void * read_to, int max_size) {
|
||||
if (!canRead()) return -1;
|
||||
if (sending) return -1;
|
||||
// piCoutObj << "com event ...";
|
||||
WaitCommEvent(PRIVATE->hCom, 0, 0);
|
||||
//WaitCommEvent(PRIVATE->hCom, 0, 0);
|
||||
// piCoutObj << "read ...";
|
||||
ReadFile(PRIVATE->hCom, read_to, max_size, &PRIVATE->readed, 0);
|
||||
// piCoutObj << "read ok";
|
||||
|
||||
Reference in New Issue
Block a user