Changes added to reflect changes in MyBuffer which was modified to use static memory allocation.
Fork of BufferedSerialStatic by
Diff: BufferedSerial.h
- Revision:
- 13:423989861689
- Parent:
- 12:a0d37088b405
--- a/BufferedSerial.h Mon Mar 07 21:10:27 2016 +0000 +++ b/BufferedSerial.h Mon May 28 14:44:46 2018 +0000 @@ -74,7 +74,6 @@ MyBuffer <char> _rxbuf; MyBuffer <char> _txbuf; uint32_t _buf_size; - uint32_t _tx_multiple; void rxIrq(void); void txIrq(void); @@ -89,7 +88,7 @@ * @param name optional name * @note Either tx or rx may be specified as NC if unused */ - BufferedSerial(PinName tx, PinName rx, uint32_t buf_size = 256, uint32_t tx_multiple = 4,const char* name=NULL); + BufferedSerial(PinName tx, PinName rx, const char* name=NULL); /** Destroy a BufferedSerial port */