Tweaks to the P25 TX and RX.

This commit is contained in:
Jonathan Naylor 2016-09-12 17:37:11 +01:00
parent 84c037e075
commit f4262c3a24
3 changed files with 17 additions and 9 deletions

View file

@ -104,7 +104,7 @@ void CP25TX::process()
uint8_t CP25TX::writeData(const uint8_t* data, uint8_t length)
{
if (length < (P25_HDR_FRAME_LENGTH_BYTES + 1U))
if (length < (P25_TERM_FRAME_LENGTH_BYTES + 1U))
return 4U;
uint16_t space = m_buffer.getSpace();