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: 3daf572bcae1 Team Team01_HEPTA_Trainig
Fork of HeptaCamera_GPS by
Revision 16:acef3a7f9597, committed 2017-09-08
- Comitter:
- HEPTA
- Date:
- Fri Sep 08 08:16:45 2017 +0000
- Parent:
- 15:6e8a1e65ac52
- Child:
- 17:a30fa71eddb7
- Commit message:
- Hepta Camera(revision);
Changed in this revision
| HeptaCamera_GPS.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HeptaCamera_GPS.cpp Fri Sep 08 07:16:14 2017 +0000
+++ b/HeptaCamera_GPS.cpp Fri Sep 08 08:16:45 2017 +0000
@@ -610,22 +610,23 @@
HeptaCamera_GPS::ErrorNumber err = HeptaCamera_GPS::NoError;
printf("synchro setting now\r\n");
err = sync();
- int count=0;
+ int count = 0;
while(err) {
switch(count) {
case 0:
printf("Connection of camera and mbed at baudrate 14400\r\n");
setmbedBaud(HeptaCamera_GPS::Baud14400);
-
+ count++;
break;
case 1:
printf("Connection of camera and mbed at baudrate 115200\r\n");
setmbedBaud(HeptaCamera_GPS::Baud115200);
+ count++;
break;
default:
count=0;
}
- count++;
+ //count++;
err = sync();
printf("synchro setting now\r\n");
if(!err) {
