summaryrefslogtreecommitdiff
path: root/rtcm2_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-05-01 09:49:19 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-05-01 09:49:19 -0400
commit8108a76644d3053bdb4e7c4a87359d65e262af81 (patch)
treefe577b25dad6e98d2a7d9433de9a1cbd478ce446 /rtcm2_json.c
parentfd989d68685ff0a3b70773498b974a874f4200b3 (diff)
downloadgpsd-8108a76644d3053bdb4e7c4a87359d65e262af81.tar.gz
Fix incorrect UNKNOWN value. Affects parsing of RTCM2 type 4 sentences.
Diffstat (limited to 'rtcm2_json.c')
-rw-r--r--rtcm2_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtcm2_json.c b/rtcm2_json.c
index c35e0949..4d310d8d 100644
--- a/rtcm2_json.c
+++ b/rtcm2_json.c
@@ -85,7 +85,7 @@ int json_rtcm2_read(const char *buf,
* documented in RTCM 2.1.
*/
const struct json_enum_t system_table[] = {
- {"GPS", 0}, {"GLONASS", 1}, {"GALILEO", 2}, {"UNKNOWN", 2}, {NULL}
+ {"GPS", 0}, {"GLONASS", 1}, {"GALILEO", 2}, {"UNKNOWN", 3}, {NULL}
};
const struct json_attr_t json_rtcm4[] = {
RTCM2_HEADER