From f22b9cb94cf933604d26fb3834825b2d9bb4b758 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 6 Jul 2017 10:16:17 -0700 Subject: 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. --- cores/arduino/Stream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cores/arduino/Stream.h') diff --git a/cores/arduino/Stream.h b/cores/arduino/Stream.h index 78a1c07..8e950c7 100644 --- a/cores/arduino/Stream.h +++ b/cores/arduino/Stream.h @@ -51,8 +51,8 @@ class Stream : public Print protected: unsigned long _timeout; // number of milliseconds to wait for the next char before aborting timed read unsigned long _startMillis; // used for timeout measurement - int timedRead(); // private method to read stream with timeout - int timedPeek(); // private method to peek stream with timeout + int timedRead(); // read stream with timeout + int timedPeek(); // peek stream with timeout int peekNextDigit(LookaheadMode lookahead, bool detectDecimal); // returns the next numeric digit in the stream or -1 if timeout public: -- cgit v1.2.3-18-g5258