From 1fdf37c920be3572d68c1acfbb9666608382a8a9 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Wed, 2 Jan 2008 16:03:27 +0200 Subject: [PATCH] Parse rest of NMEA in an idle cb --- src/gps-nmea-parse.c | 67 ++++++++++++++++++++++++++------------------ 1 file changed, 39 insertions(+), 28 deletions(-) diff --git a/src/gps-nmea-parse.c b/src/gps-nmea-parse.c index e1c3f74..012226a 100644 --- a/src/gps-nmea-parse.c +++ b/src/gps-nmea-parse.c @@ -73,7 +73,7 @@ if (_conn_state > RCVR_OFF) { return FALSE; } -static void +static void channel_parse_rmc(gchar * sentence) { /* Recommended Minimum Navigation Information C @@ -187,7 +187,7 @@ channel_parse_rmc(gchar * sentence) /* XXX: Set filter logic somewhere else */ if ((_conn_state == RCVR_FIXED) && (_track_store==TRUE)) { - if ((_gps_filter==TRUE) && (track_drop_cnt