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.
Diff: COBS.cpp
- Revision:
- 1:2b84a7482df6
- Parent:
- 0:736db4334c89
- Child:
- 2:64fdac5efaa1
--- a/COBS.cpp Tue Feb 10 02:29:49 2015 +0000 +++ b/COBS.cpp Tue Feb 10 03:12:12 2015 +0000 @@ -23,7 +23,8 @@ code_ptr = dst++, \ code = 0x01) -/* Stuff the data into an array */ +/* Stuff the data into an array + Note: the ptr and dst buffers cannot be the same */ void COBS::StuffData(unsigned char *ptr, unsigned long length, unsigned char *dst) { const unsigned char *end = ptr + length;