fix hanging 'in' command when it is the first command of the protocol and the device is offline
This commit is contained in:
@ -919,14 +919,12 @@ evalIn()
|
|||||||
busUnlock();
|
busUnlock();
|
||||||
flags &= ~BusOwner;
|
flags &= ~BusOwner;
|
||||||
}
|
}
|
||||||
busReadRequest(pollPeriod, readTimeout,
|
return busReadRequest(pollPeriod, readTimeout,
|
||||||
expectedInput, true);
|
expectedInput, true);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
busReadRequest(replyTimeout, readTimeout,
|
return busReadRequest(replyTimeout, readTimeout,
|
||||||
expectedInput, false);
|
expectedInput, false);
|
||||||
// continue with readCallback() in another thread
|
// continue with readCallback() in another thread
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ssize_t StreamCore::
|
ssize_t StreamCore::
|
||||||
|
Reference in New Issue
Block a user