mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-07 07:25:22 +00:00
Add debug info TX switching
This commit is contained in:
parent
8ecf80ff8f
commit
b4a125a759
1 changed files with 2 additions and 0 deletions
2
IO.cpp
2
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue