1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

Merge pull request #1907 from thinkyhead/some_fixes

Fix type of code_has_value
This commit is contained in:
Scott Lahteine 2015-04-13 18:04:53 -07:00
commit dee6840c50

View File

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