serial: reorganize functions, drop unused char array
This commit is contained in:
parent
1321693182
commit
9561b3f4a7
@ -47,15 +47,15 @@ private:
|
||||
EscapeSequence,
|
||||
CSI
|
||||
};
|
||||
|
||||
String m_buf;
|
||||
ParseState m_state;
|
||||
char m_escapeSeq[3];
|
||||
void doCommand();
|
||||
LogPrinter m_logPrinter;
|
||||
bool m_canRedraw = true;
|
||||
Ringbuf<String, 5> m_history;
|
||||
int m_historyOffset = 0;
|
||||
|
||||
void doCommand();
|
||||
InputEvent parseNormal(char nextChar);
|
||||
InputEvent parseEscape(char nextChar);
|
||||
InputEvent parseCSI(char nextChar);
|
||||
|
Loading…
Reference in New Issue
Block a user