Skip to content

Commit f7cca5b

Browse files
Merge pull request #5066 from kjbracey-arm/uartserial_readable
UARTSerial: Avoid readable() ambiguity
2 parents e3cb228 + 3b9f9bb commit f7cca5b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/UARTSerial.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ class UARTSerial : private SerialBase, public FileHandle, private NonCopyable<UA
5656
*/
5757
virtual short poll(short events) const;
5858

59+
/* Resolve ambiguities versus our private SerialBase
60+
* (for writable, spelling differs, but just in case)
61+
*/
62+
using FileHandle::readable;
63+
using FileHandle::writable;
64+
5965
/** Write the contents of a buffer to a file
6066
*
6167
* @param buffer The buffer to write from

0 commit comments

Comments
 (0)