this version has all of Jim's fixes for reading the GPS and IMU data synchronously
Dependencies: MODSERIAL SDFileSystem mbed SDShell CRC CommHandler FP LinkedList LogUtil
Diff: PCMessaging.h
- Revision:
- 11:88efc6048237
- Parent:
- 10:37ff5b97cf98
- Child:
- 12:c2f60b3ceb74
--- a/PCMessaging.h Sun May 05 22:03:52 2013 +0000 +++ b/PCMessaging.h Mon May 06 04:14:23 2013 +0000 @@ -2,14 +2,14 @@ //these messages produce reactions on the mbed const unsigned char POSVEL_MSG =0; const unsigned char FIRE_TRIGGER_MSG =1; -const unsigned char STATUS_MSG =2; -const unsigned char STARTDATA_MSG =3; -const unsigned char STOPDATA_MSG =4; -const unsigned char STARTSTREAM_MSG =5; -const unsigned char STOPSTREAM_MSG =6; -const unsigned char STARTLOGINFO_MSG =7; -const unsigned char STOPLOGINFO_MSG =8; -const unsigned char GETFILE_MSG =9; //used to initiate the retrieval of a SD card data file +const unsigned char GETFILE_MSG =2; //used to initiate the retrieval of a SD card data file +const unsigned char STATUS_MSG =3; +const unsigned char STARTDATA_MSG =4; +const unsigned char STOPDATA_MSG =5; +const unsigned char STARTSTREAM_MSG =6; +const unsigned char STOPSTREAM_MSG =7; +const unsigned char STARTLOGINFO_MSG =8; +const unsigned char STOPLOGINFO_MSG =9; const double DEGREES_TO_RADIANS = acos(-1.0)/180.0; const double eccen = 0.0818191908426; //WGS84 earth eccentricity @@ -167,7 +167,7 @@ case GETFILE_MSG: get_file_msg = true; toPC.printf("MBED received GETFILE message \n"); - break; + break; } //end Switch statement break;