From: Kaj-Michael Lang Date: Thu, 31 Jul 2008 12:15:24 +0000 (+0300) Subject: Filter track only X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28d9821fcfa21eb478307696f43f84285730dcf2;p=mapper Filter track only --- diff --git a/src/ui-common.c b/src/ui-common.c index 1912f5b..32c9e73 100644 --- a/src/ui-common.c +++ b/src/ui-common.c @@ -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; }