summaryrefslogtreecommitdiff
path: root/shared_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-14 06:54:44 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-14 06:57:44 -0400
commit531f5384638b9fe3e21e542ce6eed9a39b98fdfb (patch)
tree8bb2f3db54e8243f874d61c7ea58f7a5a0e70041 /shared_json.c
parentea0b84da541fb6e69d03a9dc85c399c7e4fff4cd (diff)
downloadgpsd-531f5384638b9fe3e21e542ce6eed9a39b98fdfb.tar.gz
Split Type 24 reporting, including the -s option to gpsdecode.
All regression tests pass.
Diffstat (limited to 'shared_json.c')
-rw-r--r--shared_json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared_json.c b/shared_json.c
index e3f116c3..7c87c3e6 100644
--- a/shared_json.c
+++ b/shared_json.c
@@ -96,6 +96,7 @@ int json_watch_read(const char *buf,
.nodefault = true},
{"scaled", t_boolean, .addr.boolean = &ccp->scaled},
{"timing", t_boolean, .addr.boolean = &ccp->timing},
+ {"split24", t_boolean, .addr.boolean = &ccp->split24},
{"device", t_string, .addr.string = ccp->devpath,
.len = sizeof(ccp->devpath)},
{"remote", t_string, .addr.string = ccp->remote,