Browse Source

Update Stream.cpp

teensy4-core
Frank 4 years ago
parent
commit
ee0c914797
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy4/Stream.cpp

+ 1
- 1
teensy4/Stream.cpp View File

@@ -197,7 +197,7 @@ float Stream::parseFloat(char skipChar){
else if(c >= '0' && c <= '9') { // is c a digit?
value = value * 10 + c - '0';
if(isFraction)
fraction *= 0.1;
fraction *= 0.1f;
}
read(); // consume the character we got with peek
c = timedPeek();

Loading…
Cancel
Save