fix hanging 'in' command when it is the first command of the protocol and the device is offline

This commit is contained in:
2018-11-27 13:45:27 +01:00
parent d873d220dc
commit acf7efcff2

View File

@ -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::