mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2026-04-07 15:33:41 +00:00
Revert "Adding Jonathan’s ring buffer to serial repeater"
This reverts commit 6486bf4efc.
This commit is contained in:
parent
6486bf4efc
commit
22f510d167
4 changed files with 14 additions and 76 deletions
|
|
@ -20,7 +20,6 @@
|
|||
#define SERIALPORT_H
|
||||
|
||||
#include "Globals.h"
|
||||
#include "SerialRB.h"
|
||||
|
||||
class CSerialPort {
|
||||
public:
|
||||
|
|
@ -56,7 +55,6 @@ private:
|
|||
uint8_t m_ptr;
|
||||
uint8_t m_len;
|
||||
bool m_debug;
|
||||
CSerialRB m_repeat;
|
||||
|
||||
void sendACK();
|
||||
void sendNAK(uint8_t err);
|
||||
|
|
@ -70,7 +68,6 @@ private:
|
|||
// Hardware versions
|
||||
void beginInt(uint8_t n, int speed);
|
||||
int availableInt(uint8_t n);
|
||||
int availableForWriteInt(uint8_t n);
|
||||
uint8_t readInt(uint8_t n);
|
||||
void writeInt(uint8_t n, const uint8_t* data, uint16_t length, bool flush = false);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue