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.
Revision 9:8010dd8b4742, committed 2017-03-17
- Comitter:
- UHSLMarcus
- Date:
- Fri Mar 17 11:46:54 2017 +0000
- Parent:
- 8:93d1469f3f6d
- Commit message:
- larger buffer
Changed in this revision
serialBuffer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/serialBuffer.cpp Tue Mar 14 12:23:33 2017 +0000 +++ b/serialBuffer.cpp Fri Mar 17 11:46:54 2017 +0000 @@ -1,6 +1,6 @@ #include "serialBuffer.h" -SerialBuffer::SerialBuffer(PinName tx, PinName rx) : RawSerial(tx, rx), rx_buffer(255, false) { +SerialBuffer::SerialBuffer(PinName tx, PinName rx) : RawSerial(tx, rx), rx_buffer(512, "serial") { RawSerial::attach(callback(this, &SerialBuffer::rx_interrupt), Serial::RxIrq); return; }