Browse Source

Allow spaces after a code letter

Scott Lahteine 9 years ago
parent
commit
400e9329be
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/Marlin_main.cpp

+ 1
- 0
Marlin/Marlin_main.cpp View File

@@ -973,6 +973,7 @@ void get_command() {
973 973
 bool code_has_value() {
974 974
   int i = 1;
975 975
   char c = seen_pointer[i];
976
+  while (c == ' ') c = seen_pointer[++i];
976 977
   if (c == '-' || c == '+') c = seen_pointer[++i];
977 978
   if (c == '.') c = seen_pointer[++i];
978 979
   return (c >= '0' && c <= '9');

Loading…
Cancel
Save