Merge pull request #1907 from thinkyhead/some_fixes
Fix type of code_has_value
This commit is contained in:
commit
dee6840c50
@ -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…
Reference in New Issue
Block a user