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: Program3_BLEHeartRate Program3_BLEHeartRate
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/utils/Payload.h
- Revision:
- 252:0c2cb16a7166
- Parent:
- 242:058b2e731adc
- Parent:
- 251:86df2c289e7c
- Child:
- 253:9665a6f8bbdb
diff -r af83c1fe7b48 -r 0c2cb16a7166 x-nucleo-idb0xa1/utils/Payload.h
--- a/x-nucleo-idb0xa1/utils/Payload.h Tue Jun 21 17:00:00 2016 +0200
+++ b/x-nucleo-idb0xa1/utils/Payload.h Mon Jun 27 15:51:20 2016 +0200
@@ -134,7 +134,7 @@
void printDataAsString() {
int i = 0;
PRINTF("AdData=");
- for(i=0; i<*lenPtr; i++) {
+ for(i=0; i<*lenPtr-1; i++) {
PRINTF("%c", dataPtr[i]);
}
PRINTF("\n");
