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:
commit
dee6840c50
@ -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 == '.';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user