Fix invalid JSON after addition of unreliable_tracks
When `unreliable_tracks` was added to the JSON output, the trailing `}` after `single_message` should likely have been removed. Side note: should this just be `unreliable` since it is nested inside `tracks`? `all` and `single_message` don't have the `tracks` suffix.
This commit is contained in:
parent
f7123c41e5
commit
21743b03b7
2
net_io.c
2
net_io.c
|
|
@ -1572,7 +1572,7 @@ static char * appendStatsJson(char *p,
|
|||
",\"altitude_suppressed\":%u"
|
||||
",\"cpu\":{\"demod\":%llu,\"reader\":%llu,\"background\":%llu}"
|
||||
",\"tracks\":{\"all\":%u"
|
||||
",\"single_message\":%u}"
|
||||
",\"single_message\":%u"
|
||||
",\"unreliable_tracks\":%u}"
|
||||
",\"messages\":%u}",
|
||||
st->cpr_surface,
|
||||
|
|
|
|||
Loading…
Reference in New Issue