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