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.
Fork of PsiSwarm-Headstart by
Revision 5:f6be169e465b, committed 2018-09-14
- Comitter:
- YRL50
- Date:
- Fri Sep 14 16:00:48 2018 +0000
- Parent:
- 4:dc77a25f29de
- Commit message:
- Fixing compile warnings
Changed in this revision
serial.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/serial.cpp Mon Jun 20 13:35:06 2016 +0000 +++ b/serial.cpp Fri Sep 14 16:00:48 2018 +0000 @@ -966,6 +966,7 @@ send_message = 1; break; case 123: + { strcpy(command,"GET FIRMWARE H-DESC"); char byte0 = 0; char byte1 = 1; @@ -983,6 +984,7 @@ sprintf(ret_message,"%c%c",byte0,byte1); send_message = 1; break; + } case 124: strcpy(command,"GET PCB VERSION"); sprintf(ret_message,"%1.2f",pcb_version); @@ -1168,7 +1170,7 @@ } Timeout bt_message_timeout; -static float bt_message_timeout_period = 0.001; // 1 millisecond +//static float bt_message_timeout_period = 0.001; // 1 millisecond char bt_buffer[255]; int bt_buffer_index = 0;