Reduce P25 hardcoded TX delay to allow for quick TX.

This commit is contained in:
radongc 2026-02-21 12:44:39 -05:00
parent 192cba3ecc
commit a3e1625a3f

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