Browse Source

fix type of code_has_value

Scott Lahteine 10 years ago
parent
commit
642f6a92bc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

888
   #endif // SDSUPPORT
888
   #endif // SDSUPPORT
889
 }
889
 }
890
 
890
 
891
-float code_has_value() {
891
+bool code_has_value() {
892
   char c = *(strchr_pointer + 1);
892
   char c = *(strchr_pointer + 1);
893
   return (c >= '0' && c <= '9') || c == '-' || c == '+' || c == '.';
893
   return (c >= '0' && c <= '9') || c == '-' || c == '+' || c == '.';
894
 }
894
 }

Loading…
Cancel
Save