From ec20831a3cdfc20a1f15b9e03806a4c55973f144 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 5 Oct 2016 09:15:48 +0100 Subject: [PATCH] Revert the P25 transmitter length calculation. --- P25TX.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/P25TX.cpp b/P25TX.cpp index 6ad8b3e..55fc64d 100644 --- a/P25TX.cpp +++ b/P25TX.cpp @@ -192,6 +192,5 @@ void CP25TX::setTXDelay(uint8_t delay) uint16_t CP25TX::getSpace() const { - return m_buffer.getSpace() / (P25_LDU_FRAME_LENGTH_BYTES + 1U); + return m_buffer.getSpace() / P25_LDU_FRAME_LENGTH_BYTES; } -