Merge pull request #168 from radongc/feat/reduce-hardcoded-tx-delay

Reduce Hardcoded P25 TX Delay
This commit is contained in:
Andy CA6JAU 2026-02-23 10:37:35 -03:00 committed by GitHub
commit 3c1d39312e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ m_buffer(1500U),
m_poBuffer(),
m_poLen(0U),
m_poPtr(0U),
m_txDelay(240U), // 200ms
m_txDelay(60U), // 50ms (reduced for TPT support)
m_delay(false)
{
}
@ -111,7 +111,7 @@ void CP25TX::writeByte(uint8_t c)
void CP25TX::setTXDelay(uint8_t delay)
{
m_txDelay = 600U + uint16_t(delay) * 12U; // 500ms + tx delay
m_txDelay = 60U + uint16_t(delay) * 12U; // 50ms + tx delay (reduced for TPT support)
}
uint16_t CP25TX::getSpace() const