summaryrefslogtreecommitdiff
path: root/monitor_nmea.c
diff options
context:
space:
mode:
authorReinhard Arlt <reinhard.arlt@t-online.de>2013-10-02 18:07:12 +0300
committerReinhard Arlt <reinhard.arlt@t-online.de>2013-10-02 18:07:12 +0300
commit6f5ddf288d296deb670ae214f9345aa2280b6b1f (patch)
tree078d6bc16b118adc2bf34222b9625469e569f8a9 /monitor_nmea.c
parentd42a0046ed48d1d08f98dfd8b0ac78d41ce366bc (diff)
downloadgpsd-6f5ddf288d296deb670ae214f9345aa2280b6b1f.tar.gz
Let gpsmon -n survive AIVDM messages.
Diffstat (limited to 'monitor_nmea.c')
-rw-r--r--monitor_nmea.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/monitor_nmea.c b/monitor_nmea.c
index 08e844fd..c2fa6031 100644
--- a/monitor_nmea.c
+++ b/monitor_nmea.c
@@ -483,4 +483,16 @@ const struct monitor_object_t mtk3301_mmt = {
};
#endif /* MTK3301_ENABLE */
+#ifdef AIVDM_ENABLE
+extern const struct gps_type_t aivdm;
+
+const struct monitor_object_t aivdm_mmt = {
+ .initialize = nmea_initialize,
+ .update = nmea_update,
+ .command = NULL,
+ .wrap = nmea_wrap,
+ .min_y = 21,.min_x = 80,
+ .driver = &aivdm,
+};
+#endif /* AIVDM_ENABLE */
#endif /* NMEA_ENABLE */