We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a995458 + a8a259e commit 94b6a16Copy full SHA for 94b6a16
hardware/arduino/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
0 commit comments