From b4a125a75997bb09783f0e4f28cad77728d39197 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Mon, 11 May 2020 22:31:50 +0200 Subject: [PATCH] Add debug info TX switching --- IO.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IO.cpp b/IO.cpp index 7b000fb..c668f1f 100644 --- a/IO.cpp +++ b/IO.cpp @@ -264,6 +264,7 @@ void CIO::process() if (m_txBuffer.getData() == 0U && m_tx) { m_tx = false; setPTTInt(m_pttInvert ? true : false); + DEBUG1("Process TX OFF"); } if (m_rxBuffer.getData() >= RX_BLOCK_SIZE) { @@ -453,6 +454,7 @@ void CIO::write(MMDVM_STATE mode, q15_t* samples, uint16_t length, const uint8_t if (!m_tx) { m_tx = true; setPTTInt(m_pttInvert ? false : true); + DEBUG1("Write TX ON"); } q15_t txLevel = 0;