aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-03-24 17:13:14 +0100
committerMartino Facchin <m.facchin@arduino.cc>2015-03-24 17:13:14 +0100
commitdeff3bf6285863cbffa9006e7926f18c8dfe5356 (patch)
tree239dfca59eb7ac16fe873443c5f8e11b2fc78bbb
parent6ae8a700f389a191db4f1fa213770b1a72471c99 (diff)
Stream: set findMulti function as protected
let's not expose it until the API is not accepted widely by the dev mailing list
-rw-r--r--cores/arduino/Stream.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/cores/arduino/Stream.h b/cores/arduino/Stream.h
index d0b1f32..a810132 100644
--- a/cores/arduino/Stream.h
+++ b/cores/arduino/Stream.h
@@ -98,7 +98,6 @@ class Stream : public Print
float parseFloat(char skipChar); // as above but the given skipChar is ignored
- public:
struct MultiTarget {
const char *str; // string you're searching for
size_t len; // length of string you're searching for
@@ -108,8 +107,6 @@ class Stream : public Print
// This allows you to search for an arbitrary number of strings.
// Returns index of the target that is found first or -1 if timeout occurs.
int findMulti(struct MultiTarget *targets, int tCount);
-
-
};