debug print
This commit is contained in:
@@ -270,6 +270,8 @@ Ymodem::Code Ymodem::receivePacket()
|
||||
{
|
||||
uint32_t len = read(&(rxBuffer[1]), YMODEM_PACKET_SIZE + YMODEM_PACKET_OVERHEAD - 1);
|
||||
|
||||
BOOST_LOG_TRIVIAL(debug) << "Len = " << len;
|
||||
|
||||
if(len < (YMODEM_PACKET_SIZE + YMODEM_PACKET_OVERHEAD - 1))
|
||||
{
|
||||
rxLength = len + 1;
|
||||
|
||||
Reference in New Issue
Block a user