mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2026-04-05 06:15:15 +00:00
Update TX delay according to G4KLX MMDVM firmware
This commit is contained in:
parent
773c69afb0
commit
dc9b8c28f6
2 changed files with 4 additions and 4 deletions
|
|
@ -105,10 +105,10 @@ void CPOCSAGTX::writeByte(uint8_t c)
|
|||
|
||||
void CPOCSAGTX::setTXDelay(uint8_t delay)
|
||||
{
|
||||
m_txDelay = POCSAG_PREAMBLE_LENGTH_BYTES + uint16_t(delay);
|
||||
m_txDelay = POCSAG_PREAMBLE_LENGTH_BYTES + (delay * 3U) / 2U;
|
||||
|
||||
if (m_txDelay > 1200U)
|
||||
m_txDelay = 1200U;
|
||||
if (m_txDelay > 150U)
|
||||
m_txDelay = 150U;
|
||||
}
|
||||
|
||||
uint8_t CPOCSAGTX::getSpace() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue