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

View file

@ -21,7 +21,7 @@
#include "Config.h"
#include "Globals.h"
#include "SerialRB.h"
#include "RingBuffer.h"
class CSerialPort {
@ -66,7 +66,7 @@ private:
uint8_t m_ptr;
uint8_t m_len;
bool m_debug;
CSerialRB m_repeat;
CRingBuffer<uint8_t> m_repeat;
void sendACK();
void sendNAK(uint8_t err);