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 #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 == '.';
} }