Log message

This commit is contained in:
2021-09-01 13:32:17 +02:00
parent 849a16b987
commit ed5b608e57
2 changed files with 4 additions and 1 deletions

View File

@@ -93,6 +93,8 @@ void YmodemFileReceive::readTimeOut(const boost::system::error_code& e)
if((status == StatusEstablish) || (status == StatusTransmit))
{
BOOST_LOG_TRIVIAL(debug) << "Set read timer";
readTimer.expires_from_now(boost::posix_time::millisec(READ_TIME_OUT));
readTimer.async_wait(boost::bind(&YmodemFileReceive::readTimeOut,this,_1));
}