From 8108a76644d3053bdb4e7c4a87359d65e262af81 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 1 May 2013 09:49:19 -0400 Subject: Fix incorrect UNKNOWN value. Affects parsing of RTCM2 type 4 sentences. --- rtcm2_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtcm2_json.c') 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 -- cgit v1.2.1