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: CsrLocationDemo CsrLocationDemo
Fork of CsrLocation by
Diff: CsrLocation.cpp
- Revision:
- 14:bb86a6ca6662
- Parent:
- 12:5fb829ce6b82
- Child:
- 15:ee388b77d730
- Child:
- 17:05033198f8f3
diff -r 5fb829ce6b82 -r bb86a6ca6662 CsrLocation.cpp
--- a/CsrLocation.cpp Tue Nov 04 08:41:25 2014 +0000
+++ b/CsrLocation.cpp Wed Nov 05 02:26:49 2014 +0000
@@ -297,7 +297,7 @@
return;
}
- if (in != out) {
+ while (in != out) {
data = serialBuf[out++];
out &= (MAX_SERIAL_BUF_LEN - 1);
switch (protoState) {
@@ -633,7 +633,7 @@
uint32_t msgSize;
CsrResult result;
- static uint8_t buffer[256];
+ static uint8_t buffer[512];
static unsigned maxMessageSize = 0;
msgSize = _CsrLocCalcMsgSize();

GPS mbed Shield