Emergency Parser dumb terminal compatibility
This commit is contained in:
parent
c99773bae0
commit
7b9eb233cb
|
@ -164,11 +164,11 @@ public:
|
|||
#endif
|
||||
|
||||
case EP_IGNORE:
|
||||
if (c == '\n') state = EP_RESET;
|
||||
if (c == '\n' || c == '\r') state = EP_RESET;
|
||||
break;
|
||||
|
||||
default:
|
||||
if (c == '\n') {
|
||||
if (c == '\n' || c == '\r') {
|
||||
if (enabled) switch (state) {
|
||||
case EP_M108: wait_for_user = wait_for_heatup = false; break;
|
||||
case EP_M112: killed_by_M112 = true; break;
|
||||
|
|
Loading…
Reference in a new issue