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: Data-Management-Honka
Revision 17:80affee96096, committed 2015-04-15
- Comitter:
- mzling
- Date:
- Wed Apr 15 01:50:50 2015 +0000
- Parent:
- 16:b6b2c7b0f1c9
- Child:
- 18:34ccf02fdbe7
- Commit message:
- Pushed phone message back 2
Changed in this revision
| BluetoothComm.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/BluetoothComm.cpp Mon Apr 13 17:40:41 2015 +0000
+++ b/BluetoothComm.cpp Wed Apr 15 01:50:50 2015 +0000
@@ -249,7 +249,7 @@
//Each pair of characters is converted to a short, with orders reversed.
//This is so that casting the short* back to char* restores the original message.
if (dataOut != NULL) {
- int ind = 0;
+ int ind = 2;
int j;
for (j = 0; j < len-1; j+=2) {
dataOut[ind] = (message[j+1]<<8)|message[j];