mbed library sources
Fork of mbed-src by
Diff: api/Serial.h
- Revision:
- 636:acd8185c8960
- Parent:
- 525:c320967f86b9
--- a/api/Serial.h Wed Sep 30 17:00:09 2015 +0100 +++ b/api/Serial.h Sun Mar 13 21:09:20 2016 +0000 @@ -61,6 +61,9 @@ * Either tx or rx may be specified as NC if unused */ Serial(PinName tx, PinName rx, const char *name=NULL); + + /* Copy contructor */ + Serial(const Serial& serial); protected: virtual int _getc();