C027_Support library test
Diff: SerialPipe.cpp
- Revision:
- 35:9275215a3a5b
- Parent:
- 19:2b5d097ca15d
- Child:
- 45:ebc2fd8dcf21
--- a/SerialPipe.cpp Wed Apr 09 14:25:41 2014 +0000 +++ b/SerialPipe.cpp Thu Apr 10 13:05:45 2014 +0000 @@ -9,19 +9,6 @@ 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) -{ - attach(this, &SerialPipe::rxIrqBuf, RxIrq); - attach(this, &SerialPipe::txIrqBuf, TxIrq); - - set_flow_control(RTSCTS, rts, cts); -} -#endif - SerialPipe::~SerialPipe(void) { attach(NULL, RxIrq);