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: x-nucleo-idb0xa1/utils/Payload.h
- Revision:
- 251:86df2c289e7c
- Parent:
- 236:2a73f3a97452
- Child:
- 252:0c2cb16a7166
--- a/x-nucleo-idb0xa1/utils/Payload.h Tue Jun 21 16:58:38 2016 +0200 +++ b/x-nucleo-idb0xa1/utils/Payload.h Mon Jun 27 15:49:11 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");