git-svn-id: svn://db.shs.com.ru/pip@260 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-09-08 04:59:52 +00:00
parent 3983ee1648
commit a37211aad3
6 changed files with 26 additions and 3 deletions

View File

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