Changes added to reflect changes in MyBuffer which was modified to use static memory allocation.
Fork of BufferedSerialStatic by
Diff: BufferedSerial.cpp
- Revision:
- 14:60e0d42781f9
- Parent:
- 13:423989861689
diff -r 423989861689 -r 60e0d42781f9 BufferedSerial.cpp --- a/BufferedSerial.cpp Mon May 28 14:44:46 2018 +0000 +++ b/BufferedSerial.cpp Mon May 28 14:50:13 2018 +0000 @@ -24,7 +24,7 @@ #include <stdarg.h> BufferedSerial::BufferedSerial(PinName tx, PinName rx, const char* name) - : RawSerial(tx, rx) , _rxbuf(), _txbuf()) + : RawSerial(tx, rx) , _rxbuf(), _txbuf() { RawSerial::attach(this, &BufferedSerial::rxIrq, Serial::RxIrq); this->_buf_size = 256;