summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-packet-forwarder
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2018-10-03 13:37:07 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2018-10-03 13:37:07 -0500
commitd3ea1b0303e3d9a80df904a85721015db8b47307 (patch)
tree1072463225d0fde0648a1c05c69739ee93bab17a /recipes-connectivity/lora/lora-packet-forwarder
parentac61c75701c236c97e3b7c01941334e2305b31d2 (diff)
downloadmeta-mlinux-d3ea1b0303e3d9a80df904a85721015db8b47307.tar.gz
meta-mlinux-d3ea1b0303e3d9a80df904a85721015db8b47307.tar.bz2
meta-mlinux-d3ea1b0303e3d9a80df904a85721015db8b47307.zip
Bug fix: GPS coordinates not updating
Diffstat (limited to 'recipes-connectivity/lora/lora-packet-forwarder')
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder-gpsd.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder-gpsd.patch b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder-gpsd.patch
index be9b059..1c3c698 100644
--- a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder-gpsd.patch
+++ b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder-gpsd.patch
@@ -246,7 +246,7 @@ index 801f28d..6bca482 100644
+ }
+ for (k=0; k<=l-1; k++) {
+ if ((strlen(token[k]) > 66) && (strlen(token[k]) < 74)){
-+ lgw_parse_nmea(token[k], strlen(token[k]));
++ latest_msg = lgw_parse_nmea(token[k], strlen(token[k]));
+ if(latest_msg == INVALID || latest_msg == UNKNOWN) {
+ /* checksum failed */
+ frame_size = 0;