diff --git a/Ymodem.cpp b/Ymodem.cpp index 4492554..0f1cf7c 100644 --- a/Ymodem.cpp +++ b/Ymodem.cpp @@ -265,6 +265,7 @@ Ymodem::Code Ymodem::receivePacket() { if(read(&(rxBuffer[0]), 1) > 0) { + BOOST_LOG_TRIVIAL(debug) << "RX = " << int(rxBuffer[0]); if(rxBuffer[0] == CodeSoh) { uint32_t len = read(&(rxBuffer[1]), YMODEM_PACKET_SIZE + YMODEM_PACKET_OVERHEAD - 1);