Display message rate (30 sec average) on the webmap.

(cherry picked from commit 848af78be685c6e2a26d0b30e9f385696201a2c4)
This commit is contained in:
Oliver Jowett 2015-01-13 19:10:55 +00:00
parent 41d8a79041
commit 72bfc31458
6 changed files with 41 additions and 4 deletions

View file

@ -2381,6 +2381,8 @@ void detectModeS_oversample(uint16_t *m, uint32_t mlen) {
//
void useModesMessage(struct modesMessage *mm) {
if ((Modes.check_crc == 0) || (mm->crcok) || (mm->correctedbits)) { // not checking, ok or fixed
++Modes.stat_messages_total;
// If we are decoding, track aircraft
interactiveReceiveData(mm);