summaryrefslogtreecommitdiff
path: root/src/ao_gps_sirf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ao_gps_sirf.c')
-rw-r--r--src/ao_gps_sirf.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ao_gps_sirf.c b/src/ao_gps_sirf.c
index eb00224c..64b66c95 100644
--- a/src/ao_gps_sirf.c
+++ b/src/ao_gps_sirf.c
@@ -430,25 +430,8 @@ ao_gps(void) __reentrant
__xdata struct ao_task ao_gps_task;
-static void
-gps_dump(void) __reentrant
-{
- ao_mutex_get(&ao_gps_mutex);
- ao_gps_print(&ao_gps_data);
- putchar('\n');
- ao_gps_tracking_print(&ao_gps_tracking_data);
- putchar('\n');
- ao_mutex_put(&ao_gps_mutex);
-}
-
-__code struct ao_cmds ao_gps_cmds[] = {
- { 'g', gps_dump, "g Display current GPS values" },
- { 0, gps_dump, NULL },
-};
-
void
ao_gps_init(void)
{
ao_add_task(&ao_gps_task, ao_gps, "gps");
- ao_cmd_register(&ao_gps_cmds[0]);
}