Browse Source

for discusion

Bob-the-Kuhn 8 years ago
parent
commit
ebda4663c3
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/gcode.cpp

+ 4
- 2
Marlin/gcode.cpp View File

220
       #endif
220
       #endif
221
     }
221
     }
222
 
222
 
223
-    while (*p && *p != ' ') p++;                // Skip over the parameter
224
-    while (*p == ' ') p++;                      // Skip over all spaces
223
+    if (!WITHIN(*p, 'A', 'Z')) {
224
+      while (*p && NUMERIC(*p)) p++;              // Skip over the parameter
225
+      while (*p == ' ') p++;                      // Skip over all spaces
226
+    }
225
   }
227
   }
226
 }
228
 }
227
 
229
 

Loading…
Cancel
Save