We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95da7fb commit cf274ffCopy full SHA for cf274ff
cores/arduino/Stream.cpp
@@ -75,7 +75,7 @@ void Stream::setTimeout(unsigned long timeout) // sets the maximum number of mi
75
// find returns true if the target string is found
76
bool Stream::find(char *target)
77
{
78
- return findUntil(target, NULL);
+ return findUntil(target, "");
79
}
80
81
// reads data from the stream until the target string of given length is found
@@ -176,7 +176,7 @@ float Stream::parseFloat(char skipChar){
176
boolean isNegative = false;
177
boolean isFraction = false;
178
long value = 0;
179
- char c;
+ int c;
180
float fraction = 1.0;
181
182
c = peekNextDigit();
0 commit comments