Skip to content

Commit 20f913a

Browse files
author
Jenny Plunkett
committed
Remove Serial protected member functions and attributes
1 parent 84dad6c commit 20f913a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/Serial.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,15 @@ class Serial : public SerialBase, public Stream, private NonCopyable<Serial> {
9999
return SerialBase::writeable();
100100
}
101101

102+
#if !(DOXYGEN_ONLY)
102103
protected:
103104
virtual int _getc();
104105
virtual int _putc(int c);
105106
virtual void lock();
106107
virtual void unlock();
107108

108109
PlatformMutex _mutex;
110+
#endif
109111
};
110112

111113
} // namespace mbed

0 commit comments

Comments
 (0)