Skip to content

Commit

Permalink
Fixed wrong bracket placement (see #3011)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Apr 21, 2015
1 parent 6a22efe commit 35fc66c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hardware/arduino/avr/cores/arduino/Stream.cpp
Expand Up @@ -268,8 +268,9 @@ int Stream::findMulti( struct Stream::MultiTarget *targets, int tCount) {
if (c == t->str[t->index]) {
if (++t->index == t->len)
return t - targets;
} else
continue;
else
continue;
}

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

0 comments on commit 35fc66c

Please sign in to comment.