Skip to content

Commit

Permalink
Reducing ring buffers for duplex mode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juribeparada committed May 21, 2018
1 parent a2bad49 commit 851a714
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NXDNTX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const uint8_t NXDN_PREAMBLE[] = {0x57U, 0x75U, 0xFDU};
const uint8_t NXDN_SYNC = 0x5FU;

CNXDNTX::CNXDNTX() :
m_buffer(2500U),
m_buffer(2000U),
m_poBuffer(),
m_poLen(0U),
m_poPtr(0U),
Expand Down
2 changes: 1 addition & 1 deletion P25TX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
const uint8_t P25_START_SYNC = 0x77U;

CP25TX::CP25TX() :
m_buffer(2500U),
m_buffer(2000U),
m_poBuffer(),
m_poLen(0U),
m_poPtr(0U),
Expand Down
2 changes: 1 addition & 1 deletion SerialRB.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Boston, MA 02110-1301, USA.
#include <Arduino.h>
#endif

const uint16_t SERIAL_RINGBUFFER_SIZE = 2000U;
const uint16_t SERIAL_RINGBUFFER_SIZE = 1000U;

class CSerialRB {
public:
Expand Down
2 changes: 1 addition & 1 deletion YSFTX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const uint8_t YSF_START_SYNC = 0x77U;
const uint8_t YSF_END_SYNC = 0xFFU;

CYSFTX::CYSFTX() :
m_buffer(2500U),
m_buffer(2000U),
m_poBuffer(),
m_poLen(0U),
m_poPtr(0U),
Expand Down

0 comments on commit 851a714

Please sign in to comment.