Browse Source

Merge pull request #1907 from thinkyhead/some_fixes

Fix type of code_has_value
pull/1/head
Scott Lahteine 10 years ago
parent
commit
dee6840c50
  1. 2
      Marlin/Marlin_main.cpp

2
Marlin/Marlin_main.cpp

@ -888,7 +888,7 @@ void get_command() {
#endif // SDSUPPORT #endif // SDSUPPORT
} }
float code_has_value() { bool code_has_value() {
char c = *(strchr_pointer + 1); char c = *(strchr_pointer + 1);
return (c >= '0' && c <= '9') || c == '-' || c == '+' || c == '.'; return (c >= '0' && c <= '9') || c == '-' || c == '+' || c == '.';
} }

Loading…
Cancel
Save