diff options
author | Reinhard Arlt <reinhard.arlt@t-online.de> | 2013-10-02 18:07:12 +0300 |
---|---|---|
committer | Reinhard Arlt <reinhard.arlt@t-online.de> | 2013-10-02 18:07:12 +0300 |
commit | 6f5ddf288d296deb670ae214f9345aa2280b6b1f (patch) | |
tree | 078d6bc16b118adc2bf34222b9625469e569f8a9 /monitor_nmea.c | |
parent | d42a0046ed48d1d08f98dfd8b0ac78d41ce366bc (diff) | |
download | gpsd-6f5ddf288d296deb670ae214f9345aa2280b6b1f.tar.gz |
Let gpsmon -n survive AIVDM messages.
Diffstat (limited to 'monitor_nmea.c')
-rw-r--r-- | monitor_nmea.c | 12 |
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 */ |