mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 22:17:38 +00:00
Handle the slow delivery of serial data from the modem better.
This commit is contained in:
parent
8e5387c4ee
commit
dc08c18db7
2 changed files with 137 additions and 128 deletions
4
Modem.h
4
Modem.h
|
|
@ -86,6 +86,8 @@ private:
|
|||
bool m_ysfEnabled;
|
||||
CSerialController m_serial;
|
||||
unsigned char* m_buffer;
|
||||
unsigned int m_length;
|
||||
unsigned int m_offset;
|
||||
CRingBuffer<unsigned char> m_rxDStarData;
|
||||
CRingBuffer<unsigned char> m_txDStarData;
|
||||
CRingBuffer<unsigned char> m_rxDMRData1;
|
||||
|
|
@ -110,7 +112,7 @@ private:
|
|||
|
||||
void printDebug();
|
||||
|
||||
RESP_TYPE_MMDVM getResponse(unsigned char* buffer, unsigned int& length);
|
||||
RESP_TYPE_MMDVM getResponse();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue