]> err.no Git - mapper/commitdiff
Use correct name for gps struct
authorKaj-Michael Lang <milang@onion.tal.org>
Fri, 25 Jan 2008 13:27:58 +0000 (15:27 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Fri, 25 Jan 2008 13:27:58 +0000 (15:27 +0200)
src/maemo-osso.c

index 97d16b05c26ebffd3d6bf8f705ff39d2170f3fda..6606062fecda7f76f20456fcb7e1780370c56392 100644 (file)
@@ -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;
        }