Skip to content

Commit 9f593a7

Browse files
committed
Merge pull request #2104 from amulya349/master
Fix of a bug in Stream.cpp (Filtered from arduino/Arduino@1918966)
2 parents aa5e9a3 + b02c520 commit 9f593a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/Stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void Stream::setTimeout(unsigned long timeout) // sets the maximum number of mi
7575
// find returns true if the target string is found
7676
bool Stream::find(char *target)
7777
{
78-
return findUntil(target, NULL);
78+
return findUntil(target, "");
7979
}
8080

8181
// reads data from the stream until the target string of given length is found

0 commit comments

Comments
 (0)