Skip to content

Commit d9e6140

Browse files
committed
Stream: set findMulti function as protected
let's not expose it until the API is not accepted widely by the dev mailing list
1 parent 2bd1745 commit d9e6140

File tree

1 file changed

+0
-3
lines changed
  • hardware/arduino/avr/cores/arduino

1 file changed

+0
-3
lines changed

hardware/arduino/avr/cores/arduino/Stream.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ class Stream : public Print
9898

9999
float parseFloat(char skipChar); // as above but the given skipChar is ignored
100100

101-
public:
102101
struct MultiTarget {
103102
const char *str; // string you're searching for
104103
size_t len; // length of string you're searching for
@@ -108,8 +107,6 @@ class Stream : public Print
108107
// This allows you to search for an arbitrary number of strings.
109108
// Returns index of the target that is found first or -1 if timeout occurs.
110109
int findMulti(struct MultiTarget *targets, int tCount);
111-
112-
113110
};
114111

115112

0 commit comments

Comments
 (0)