From 5ba7b4a4d600f45698de4e562c3ff9d206804cd4 Mon Sep 17 00:00:00 2001 From: Jaro Date: Wed, 1 Sep 2021 17:32:14 +0200 Subject: [PATCH] Debug RX --- Ymodem.cpp | 1 + 1 file changed, 1 insertion(+) 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);