Simplify the serial repeater code.

This commit is contained in:
Jonathan Naylor
2023-10-05 19:49:17 +01:00
parent 3e079f58ad
commit 6b3a811ae7
2 changed files with 5 additions and 43 deletions
-2
View File
@@ -106,10 +106,8 @@ private:
uint16_t m_ptr;
uint16_t m_len;
bool m_debug;
CRingBuffer<uint8_t> m_serialData;
int m_lastSerialAvail;
uint16_t m_lastSerialAvailCount;
CRingBuffer<uint8_t> m_i2CData;
void sendACK(uint8_t type);
void sendNAK(uint8_t type, uint8_t err);