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.
Dependents: M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more
Diff: utils/MTSCircularBuffer.cpp
- Revision:
- 45:40745c2036cf
- Parent:
- 35:f28acb1be52d
- Child:
- 46:b30547bf07d5
--- a/utils/MTSCircularBuffer.cpp Thu Dec 19 16:54:09 2013 +0000 +++ b/utils/MTSCircularBuffer.cpp Thu Dec 19 21:38:01 2013 +0000 @@ -46,9 +46,6 @@ int MTSCircularBuffer::write(char* data, int length) { - if (length > capacity()) { - return 0; - } int i = 0; while((i < length) && (available() < bufferSize)) { if(writeIndex == bufferSize) {