diff options
author | Alexander Entinger <consulting@lxrobotics.com> | 2019-09-16 10:21:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-16 10:21:51 +0200 |
commit | 366b1b814702ec0da8951f9e13af882352442940 (patch) | |
tree | 597ffcfd6407f4b7c55639ee54f5b517c25c9e79 /cores/arduino/Stream.cpp | |
parent | 0c5aa78ff40d208a1341b3dae84166e837901070 (diff) | |
parent | 742abcd9660d4b754fede51f098113fca918cb54 (diff) |
Merge branch 'master' into patch-1
Diffstat (limited to 'cores/arduino/Stream.cpp')
-rw-r--r-- | cores/arduino/Stream.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cores/arduino/Stream.cpp b/cores/arduino/Stream.cpp index d284631..9eff663 100644 --- a/cores/arduino/Stream.cpp +++ b/cores/arduino/Stream.cpp @@ -218,7 +218,6 @@ size_t Stream::readBytes(char *buffer, size_t length) size_t Stream::readBytesUntil(char terminator, char *buffer, size_t length) { - if (length < 1) return 0; size_t index = 0; while (index < length) { int c = timedRead(); |