Browse Source

Allow spaces after a code letter

pull/1/head
Scott Lahteine 9 years ago
parent
commit
400e9329be
  1. 1
      Marlin/Marlin_main.cpp

1
Marlin/Marlin_main.cpp

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

Loading…
Cancel
Save