Kuvée / COBS

Dependents:   Nucleo_cobs_test

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;