Browse Source

Fix Emergency Parser stuck state

Scott Lahteine 4 years ago
parent
commit
81b0548518
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/emergency_parser.h

+ 1
- 1
Marlin/src/feature/emergency_parser.h View File

@@ -78,7 +78,7 @@ public:
78 78
     switch (state) {
79 79
       case EP_RESET:
80 80
         switch (c) {
81
-          case ' ': break;
81
+          case ' ': case '\n': case '\r': break;
82 82
           case 'N': state = EP_N;      break;
83 83
           case 'M': state = EP_M;      break;
84 84
           default: state  = EP_IGNORE;

Loading…
Cancel
Save