]> err.no Git - mapper/commitdiff
Filter track only
authorKaj-Michael Lang <milang@tal.org>
Thu, 31 Jul 2008 12:15:24 +0000 (15:15 +0300)
committerKaj-Michael Lang <milang@tal.org>
Thu, 31 Jul 2008 12:15:24 +0000 (15:15 +0300)
src/ui-common.c

index 1912f5bdc1be46a6c04648b9aed5b33bba3cf433..32c9e73f2d47654435122745054a644815960fb7 100644 (file)
@@ -829,13 +829,14 @@ gps_location_update(Gps *gps)
 g_assert(gps);
 if (filter_check(&filter, &gps->data, &map_loc)==TRUE) {
        if (path_add_latlon(_track, _gps->data.lat, _gps->data.lon, _gps->data.time, _gps->data.speed, _gps->data.altitude)) {
-               path_check_waypoint_announce(_route, &_gps->data);
-#if 0
-               route_autoroute_check(_route);
-#endif
-               KEEP_DISPLAY_ON();
+               /* xxx */
        }
 }
+path_check_waypoint_announce(_route);
+#if 0
+route_autoroute_check(_route);
+#endif
+KEEP_DISPLAY_ON();
 return FALSE;
 }