git-svn-id: svn://db.shs.com.ru/pip@299 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -232,13 +232,13 @@ void PIIODevice::run() {
|
||||
return;
|
||||
}
|
||||
if (!thread_started_) {
|
||||
msleep(5);
|
||||
piMSleep(5);
|
||||
//cout << "not started\n";
|
||||
return;
|
||||
}
|
||||
readed_ = read(buffer_tr.data(), buffer_tr.size_s());
|
||||
if (readed_ <= 0) {
|
||||
msleep(10);
|
||||
piMSleep(10);
|
||||
//cout << readed_ << ", " << errno << ", " << errorString() << endl;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user