From d2f53861645c92ede89876c6065a420c182be5a3 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sat, 23 Sep 2017 11:42:30 -0300 Subject: [PATCH] Increasing buffers (IO and DMR) for BlueDV compatibility --- DMRDMOTX.cpp | 2 +- Globals.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DMRDMOTX.cpp b/DMRDMOTX.cpp index ef0abab..e6b13c8 100644 --- a/DMRDMOTX.cpp +++ b/DMRDMOTX.cpp @@ -24,7 +24,7 @@ const uint8_t DMR_SYNC = 0x5FU; CDMRDMOTX::CDMRDMOTX() : -m_fifo(), +m_fifo(875U), m_poBuffer(), m_poLen(0U), m_poPtr(0U), diff --git a/Globals.h b/Globals.h index 71de1ce..aa7c9c8 100644 --- a/Globals.h +++ b/Globals.h @@ -62,8 +62,8 @@ const uint8_t MARK_NONE = 0x00U; #include "Debug.h" #include "Utils.h" -const uint16_t TX_RINGBUFFER_SIZE = 512U; -const uint16_t RX_RINGBUFFER_SIZE = 512U; +const uint16_t TX_RINGBUFFER_SIZE = 1024U; +const uint16_t RX_RINGBUFFER_SIZE = 1024U; extern MMDVM_STATE m_modemState; extern MMDVM_STATE m_modemState_prev;