Skip to content

Commit 35fc66c

Browse files
committed
Fixed wrong bracket placement (see #3011)
1 parent 6a22efe commit 35fc66c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hardware/arduino/avr/cores/arduino/Stream.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,9 @@ int Stream::findMulti( struct Stream::MultiTarget *targets, int tCount) {
268268
if (c == t->str[t->index]) {
269269
if (++t->index == t->len)
270270
return t - targets;
271-
} else
272-
continue;
271+
else
272+
continue;
273+
}
273274

274275
// if not we need to walk back and see if we could have matched further
275276
// down the stream (ie '1112' doesn't match the first position in '11112'

0 commit comments

Comments
 (0)