aboutsummaryrefslogtreecommitdiff
path: root/plugins/simtech/mm-shared-simtech.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/simtech/mm-shared-simtech.c')
-rw-r--r--plugins/simtech/mm-shared-simtech.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/simtech/mm-shared-simtech.c b/plugins/simtech/mm-shared-simtech.c
index b7f98ace..aa5a66a3 100644
--- a/plugins/simtech/mm-shared-simtech.c
+++ b/plugins/simtech/mm-shared-simtech.c
@@ -114,27 +114,6 @@ trace_received (MMPortSerialGps *port,
const gchar *trace,
MMIfaceModemLocation *self)
{
- /* Helper to debug GPS location related issues. Don't depend on a real GPS
- * fix for debugging, just use some random values to update */
-#if 0
- if (g_str_has_prefix (trace, "$GPGGA")) {
- GString *str;
- GDateTime *now;
-
- now = g_date_time_new_now_utc ();
- str = g_string_new ("");
- g_string_append_printf (str,
- "$GPGGA,%02u%02u%02u,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47",
- g_date_time_get_hour (now),
- g_date_time_get_minute (now),
- g_date_time_get_second (now));
- mm_iface_modem_location_gps_update (self, str->str);
- g_string_free (str, TRUE);
- g_date_time_unref (now);
- return;
- }
-#endif
-
mm_iface_modem_location_gps_update (self, trace);
}