From: Kaj-Michael Lang Date: Fri, 25 Jan 2008 13:27:58 +0000 (+0200) Subject: Use correct name for gps struct X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd0960f82a18d84b52ecad892a9bff775e57a1b4;p=mapper Use correct name for gps struct --- diff --git a/src/maemo-osso.c b/src/maemo-osso.c index 97d16b0..6606062 100644 --- a/src/maemo-osso.c +++ b/src/maemo-osso.c @@ -92,8 +92,8 @@ if (state->system_inactivity_ind) { poi_icon_hash_clear(); } else { if (_gps->io.conn == RCVR_OFF && _enable_gps) { - gps_conn_set_state(gps, RCVR_DOWN); - gps_connect_later(gps); + gps_conn_set_state(_gps, RCVR_DOWN); + gps_connect_later(_gps); if (_autoroute_data.enabled) _autoroute_data.in_progress = TRUE; }