mirror of
https://git.openwrt.org/feed/routing.git
synced 2024-06-14 11:13:54 +02:00
Merge pull request #610 from PolynomialDivision/fix/olsrdgpsd
olsrd: adapt gpsdclient.c to new gpsd lib
This commit is contained in:
commit
b389738677
11
olsrd/patches/012-gpsd.patch
Normal file
11
olsrd/patches/012-gpsd.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/lib/pud/src/gpsdclient.c
|
||||
+++ b/lib/pud/src/gpsdclient.c
|
||||
@@ -370,7 +370,7 @@ void nmeaInfoFromGpsd(struct gps_data_t
|
||||
);
|
||||
|
||||
gpsdata->set &= ~STATUS_SET; /* always valid */
|
||||
- if (gpsdata->status == STATUS_NO_FIX) {
|
||||
+ if (gpsdata->fix.status == STATUS_NO_FIX) {
|
||||
nmeaInfoClear(info);
|
||||
nmeaTimeSet(&info->utc, &info->present, NULL);
|
||||
return;
|
Loading…
Reference in New Issue
Block a user