]> err.no Git - mapper/commitdiff
Default to gps simulator, config load sets the correct one.
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 24 Jan 2008 16:47:32 +0000 (18:47 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 24 Jan 2008 16:47:32 +0000 (18:47 +0200)
Need to add type selector to gps config...

src/mapper.c

index db7cb4de2d172c6c235ced7d7e87f7c36e5537fd..e31e94c5b2571f7d84f8d6915176f24f67bdb996 100644 (file)
@@ -285,15 +285,7 @@ switch (mis) {
                curl_global_init(CURL_GLOBAL_NOTHING);
                gnome_vfs_init();
                /* XXX: Load GPS configuration, then create gps */
-#ifdef WITH_BLUEZ
-               _gps=gps_new(GPS_IO_RFCOMM);
-#else
-#ifdef WITH_HILDON_DBUS_BT
-               _gps=gps_new(GPS_IO_HILDON_DBUS);
-#else
                _gps=gps_new(GPS_IO_SIMULATION);
-#endif
-#endif
                timezone_init();
                gpx_init();
                variables_init();