Browse Source

fix warning: comparison is always false due to limited range of data type

teensy4-core
Frank 7 years ago
parent
commit
dc1426be97
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/Stream.cpp

+ 1
- 1
teensy3/Stream.cpp View File

@@ -176,7 +176,7 @@ float Stream::parseFloat(char skipChar){
boolean isNegative = false;
boolean isFraction = false;
long value = 0;
char c;
int c;
float fraction = 1.0;

c = peekNextDigit();

Loading…
Cancel
Save