From 28d9821fcfa21eb478307696f43f84285730dcf2 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 31 Jul 2008 15:15:24 +0300 Subject: [PATCH] Filter track only --- src/ui-common.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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; } -- 2.39.5