aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Stream.cpp
diff options
context:
space:
mode:
authorper1234 <accounts@perglass.com>2017-07-06 10:16:17 -0700
committerCristian Maglie <c.maglie@bug.st>2017-07-07 01:28:27 +0200
commitf22b9cb94cf933604d26fb3834825b2d9bb4b758 (patch)
tree91f5e0029189380d14317faf0b84f250b109d9f8 /cores/arduino/Stream.cpp
parentcfcd44120e02b5248134683bf2e9874018f249b3 (diff)
Update comments to reflect Stream functions changed from private to protected
These functions were changed from private to protected in https://github.com/arduino/Arduino/commit/99f2a2755349784835130147e46cb61659b85893 but the comments were not updated at that time. In conjunction with equivalent pull requests to Arduino SAM Boards and Arduino SAMD Boards, solves https://github.com/arduino/Arduino/issues/6146.
Diffstat (limited to 'cores/arduino/Stream.cpp')
-rw-r--r--cores/arduino/Stream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/Stream.cpp b/cores/arduino/Stream.cpp
index f665465..d284631 100644
--- a/cores/arduino/Stream.cpp
+++ b/cores/arduino/Stream.cpp
@@ -27,7 +27,7 @@
#define PARSE_TIMEOUT 1000 // default number of milli-seconds to wait
-// private method to read stream with timeout
+// protected method to read stream with timeout
int Stream::timedRead()
{
int c;
@@ -39,7 +39,7 @@ int Stream::timedRead()
return -1; // -1 indicates timeout
}
-// private method to peek stream with timeout
+// protected method to peek stream with timeout
int Stream::timedPeek()
{
int c;