summaryrefslogtreecommitdiff
path: root/recipes/prismstumbler/prismstumbler-0.7.3+0.7.4pre1/gpsapi.patch
blob: 638a877b772b2e0d40e9a279351c02b4398aeee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- prismstumbler-0.7.4pre1/src/daemon/gpsctl.c~	2007-04-04 00:10:03.000000000 +0200
+++ prismstumbler-0.7.4pre1/src/daemon/gpsctl.c	2007-04-04 00:10:03.000000000 +0200
@@ -30,8 +30,8 @@
 	if(!gps_conn)
 		return 0;
 	
-	*lat = (float) gps_conn->newdata.latitude;
-	*lon = (float) gps_conn->newdata.longitude;
+	*lat = (float) gps_conn->fix.latitude;
+	*lon = (float) gps_conn->fix.longitude;
 	return 1;
 }