Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of C027_Support_New by
Diff: SerialPipe.cpp
- Revision:
- 19:2b5d097ca15d
- Parent:
- 18:e5697801df29
- Child:
- 35:9275215a3a5b
--- a/SerialPipe.cpp	Fri Mar 14 13:07:48 2014 +0000
+++ b/SerialPipe.cpp	Mon Mar 24 07:38:05 2014 +0000
@@ -9,6 +9,8 @@
     attach(this, &SerialPipe::txIrqBuf, TxIrq);
 }
 
+
+#if DEVICE_SERIAL_FC
 SerialPipe::SerialPipe(PinName tx, PinName rx, PinName rts, PinName cts, 
     int rxSize, int txSize) 
     : _SerialPipeBase(tx,rx), _pipeRx(rxSize), _pipeTx(txSize)
@@ -18,6 +20,7 @@
     
     set_flow_control(RTSCTS, rts, cts);
 }
+#endif
 
 SerialPipe::~SerialPipe(void)
 {
    