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:
- 17:71900da6ced6
- Parent:
- 16:2aea22130ba1
- Child:
- 20:3f04a0bde484
--- a/PCMessaging.h Wed May 08 06:22:57 2013 +0000 +++ b/PCMessaging.h Thu May 09 16:06:45 2013 +0000 @@ -40,6 +40,8 @@ char preamble[5] = "WMsg"; char testPreamble[5]; +bool validMessage = false; + void setUpMessages(void) { @@ -105,7 +107,7 @@ // We always assume we have a complete message string and test for this below serBuf[serBufChars] = '\0'; - bool validMessage = false; + validMessage = false; // Check for valid message -- there are numMessages possible messages //this assumes that the message buffer contains an exact message