Changes to allow hardware camera trigger
Fork of GPS_Incremental by
Revision 9:13724ed3f825, committed 2013-04-17
- Comitter:
- jekain314
- Date:
- Wed Apr 17 13:50:21 2013 +0000
- Parent:
- 8:2e20e4cf53e6
- Child:
- 10:078891935385
- Commit message:
- Before revisions of the hotshoe
Changed in this revision
| PCMessaging.h | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/PCMessaging.h Sat Apr 06 21:24:52 2013 +0000
+++ b/PCMessaging.h Wed Apr 17 13:50:21 2013 +0000
@@ -262,6 +262,8 @@
{
toPC.printf(" closing the SD card file \n\n");
fclose(fpNav);
+ wait(1.0);
+ //toPC.printf("\n after closing the SD card file \n\n");
recordData = false;
fpNav = NULL;
}
--- a/main.cpp Sat Apr 06 21:24:52 2013 +0000
+++ b/main.cpp Wed Apr 17 13:50:21 2013 +0000
@@ -110,14 +110,6 @@
toPC.printf(" SD card not present \n");
}
- fpNav = fopen("/sd/Data/IMUGPS.bin", "wb");
- if (fpNav == NULL)
- {
- toPC.printf(" cannot open the IMUGPS data file \n");
- }
- else
- toPC.printf(" opened the IMUGPS data file \n");
-
//NOTE: we do not assume that the GPS receiver has been pre-set up for the WALDO_FCS functionality
//we alwsys start with a reset and reprogram the receiver with our data out products
// this prevents failure because of a blown NVRAM as occurred for the older camera systems
