Display message rate (30 sec average) on the webmap.
(cherry picked from commit 848af78be685c6e2a26d0b30e9f385696201a2c4)
This commit is contained in:
parent
41d8a79041
commit
72bfc31458
6 changed files with 41 additions and 4 deletions
3
net_io.c
3
net_io.c
|
|
@ -676,8 +676,9 @@ char *generateAircraftJson(int *len) {
|
|||
|
||||
p += snprintf(p, end-p,
|
||||
"{ \"now\" : %d,\n"
|
||||
" \"messages\" : %u,\n"
|
||||
" \"aircraft\" : [",
|
||||
(int)now);
|
||||
(int)now, Modes.stat_messages_total);
|
||||
|
||||
while(a) {
|
||||
if (a->modeACflags & MODEAC_MSG_FLAG) { // skip any fudged ICAO records Mode A/C
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue