This commit is contained in:
2021-09-11 20:37:15 +02:00
parent 1021893844
commit 2a529f224a
3 changed files with 7 additions and 5 deletions

View File

@@ -270,7 +270,7 @@ Ymodem::Code Ymodem::receivePacket()
{
uint32_t len = read(&(rxBuffer[1]), YMODEM_PACKET_SIZE + YMODEM_PACKET_OVERHEAD - 1);
BOOST_LOG_TRIVIAL(debug) << "Len = " << len;
BOOST_LOG_TRIVIAL(debug) << "Len = " << len << " Start = " << rxBuffer[1];
if(len < (YMODEM_PACKET_SIZE + YMODEM_PACKET_OVERHEAD - 1))
{