diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-01-07 21:52:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-01-07 21:52:50 +0000 |
commit | f9da2d1289d923e27254c498f7f08cc9b172940a (patch) | |
tree | cd8b794840686ed669acef05472fbd0df7cead76 /gpspacket.c | |
parent | 70b05880ec7bac555262b803c4a8112665b84230 (diff) | |
download | gpsd-f9da2d1289d923e27254c498f7f08cc9b172940a.tar.gz |
Update the list of packet type defines. Plain RTCM_PACKET is gone.
Diffstat (limited to 'gpspacket.c')
-rw-r--r-- | gpspacket.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gpspacket.c b/gpspacket.c index 86686e31..aee37742 100644 --- a/gpspacket.c +++ b/gpspacket.c @@ -65,6 +65,7 @@ Lexer_init(LexerObject *self) packet_reset(&self->lexer); return 0; } + static PyObject * Lexer_get(LexerObject *self, PyObject *args) { @@ -260,6 +261,10 @@ initgpspacket(void) PyModule_AddIntConstant(m, "TSIP_PACKET", TSIP_PACKET); PyModule_AddIntConstant(m, "EVERMORE_PACKET", EVERMORE_PACKET); PyModule_AddIntConstant(m, "ITALK_PACKET", ITALK_PACKET); - PyModule_AddIntConstant(m, "RTCM2_PACKET", RTCM2_PACKET); PyModule_AddIntConstant(m, "GARMIN_PACKET", GARMIN_PACKET); + PyModule_AddIntConstant(m, "NAVCOM_PACKET", NAVCOM_PACKET); + PyModule_AddIntConstant(m, "RTCM2_PACKET", RTCM2_PACKET); + PyModule_AddIntConstant(m, "RTCM3_PACKET", RTCM3_PACKET); + PyModule_AddIntConstant(m, "UBX_PACKET", UBX_PACKET); + PyModule_AddIntConstant(m, "GARMINTXT_PACKET", GARMINTXT_PACKET); } |