Remove CSerialBuffer, use CRingBuffer

This commit is contained in:
Geoffrey Merck
2020-05-10 06:50:35 +02:00
parent 16c3d418eb
commit 03f18451f7
17 changed files with 36 additions and 39 deletions
+2 -2
View File
@@ -21,7 +21,7 @@
#include "Config.h"
#include "SerialRB.h"
#include "RingBuffer.h"
class CDStarTX {
public:
@@ -38,7 +38,7 @@ public:
uint8_t getSpace() const;
private:
CSerialRB m_buffer;
CRingBuffer<uint8_t> m_buffer;
arm_fir_interpolate_instance_q15 m_modFilter;
q15_t m_modState[20U]; // blockSize + phaseLength - 1, 8 + 9 - 1 plus some spare
uint8_t m_poBuffer[600U];