Fix:vehicle_gpsd:Avoid raw mode until libgps bug is fixed
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 7 May 2008 22:39:25 +0000 (22:39 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 7 May 2008 22:39:25 +0000 (22:39 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1042 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/src/navit.xml
navit/src/vehicle/gpsd/vehicle_gpsd.c

index 9a602bb..b6025f7 100644 (file)
@@ -26,7 +26,7 @@ Change to your home coordinates.
        <graphics type="opengl" />
 -->
        
-       <vehicle name="Meins" enabled="yes" active="1" source="gpsd://localhost" gpsd_query="w+xjr+" color="#0000ff"/>
+       <vehicle name="Meins" enabled="yes" active="1" source="gpsd://localhost" gpsd_query="w+xj" color="#0000ff"/>
        <!-- To improve visibility of the cursor in gtk, you may optionally add:
                color2="#rrggbb"  - draws a second cursor inside the original, in the specified colour
                animate="1" - animates the cursor, as series of moving dots
index 46f0992..ac7f0c0 100644 (file)
@@ -257,7 +257,7 @@ vehicle_gpsd_new_gpsd(struct vehicle_methods
        if (query) {
                ret->gpsd_query = g_strconcat(query->u.str, "\n", NULL);
        } else {
-               ret->gpsd_query = g_strdup("w+xr+\n");
+               ret->gpsd_query = g_strdup("w+x\n");
        }
        dbg(1,"Format string for gpsd_query: %s\n",ret->gpsd_query);
        retry_int = attr_search(attrs, NULL, attr_retry_interval);