++

Fork of mbed-stm32l0/l1-src by lzbp li

Revision:
525:c320967f86b9
Parent:
212:34d62c0b2af6
--- a/api/Serial.h	Mon Apr 27 09:45:08 2015 +0100
+++ b/api/Serial.h	Tue Apr 28 11:45:12 2015 +0100
@@ -47,6 +47,11 @@
 class Serial : public SerialBase, public Stream {
 
 public:
+#if DEVICE_SERIAL_ASYNCH
+    using SerialBase::read;
+    using SerialBase::write;
+#endif
+
     /** Create a Serial port, connected to the specified transmit and receive pins
      *
      *  @param tx Transmit pin