mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-06 06:55:05 +00:00
Calculate the P25 transmit space a little more accurately.
This commit is contained in:
parent
970725819b
commit
02c90e3f7f
1 changed files with 1 additions and 1 deletions
|
|
@ -192,6 +192,6 @@ void CP25TX::setTXDelay(uint8_t delay)
|
|||
|
||||
uint16_t CP25TX::getSpace() const
|
||||
{
|
||||
return m_buffer.getSpace() / P25_LDU_FRAME_LENGTH_BYTES;
|
||||
return m_buffer.getSpace() / (P25_LDU_FRAME_LENGTH_BYTES + 1U);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue