Skip to content

Commit 5ee5b07

Browse files
author
Jenny Plunkett
committed
Remove note about Stream/Serial deprecation
1 parent 9a7f359 commit 5ee5b07

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/Serial.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ class Serial : public SerialBase, public Stream, private NonCopyable<Serial> {
8282
*/
8383
Serial(PinName tx, PinName rx, int baud);
8484

85-
/* Stream gives us a FileHandle with non-functional poll()/readable()/writable. Pass through
86-
* the calls from the SerialBase instead for backwards compatibility. This problem is
87-
* part of why Stream and Serial should be deprecated.
88-
*/
8985
bool readable()
9086
{
9187
return SerialBase::readable();

0 commit comments

Comments
 (0)