diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 1f6a0a163e342cbb03fe603c0f6f17c8f6926370..c65d88395a61a1936ba2edb46c7adf00871e48b3 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -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 == '.'; }