diff options
author | Cristian Maglie <c.maglie@bug.st> | 2014-06-02 10:37:37 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2014-06-02 10:37:37 +0200 |
commit | 2d72650feba4d14008a5a398727fe082ef774c07 (patch) | |
tree | 4a041894adfc57212f21c6834f6ae0dc8454ecdd /cores/robot/Stream.cpp | |
parent | 29b0b63d1c7d90e9c2559d110993c825ec1f5fa4 (diff) | |
parent | 2f98fe16d79170f6962f681295636a5c4fe010d4 (diff) |
Merge pull request #2104 from amulya349/master
Fix of a bug in Stream.cpp
Diffstat (limited to 'cores/robot/Stream.cpp')
-rw-r--r-- | cores/robot/Stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/robot/Stream.cpp b/cores/robot/Stream.cpp index aafb7fc..f21a411 100644 --- a/cores/robot/Stream.cpp +++ b/cores/robot/Stream.cpp @@ -75,7 +75,7 @@ void Stream::setTimeout(unsigned long timeout) // sets the maximum number of mi // find returns true if the target string is found bool Stream::find(char *target) { - return findUntil(target, NULL); + return findUntil(target, ""); } // reads data from the stream until the target string of given length is found |