Prune dead timestamp fields from aircraft state.
This commit is contained in:
parent
474fe45256
commit
686d433b1f
2 changed files with 0 additions and 4 deletions
2
track.c
2
track.c
|
|
@ -300,7 +300,6 @@ static void updatePosition(struct aircraft *a, struct modesMessage *mm, time_t n
|
|||
// Update aircraft state
|
||||
a->bFlags |= (MODES_ACFLAGS_LATLON_VALID | MODES_ACFLAGS_LATLON_REL_OK);
|
||||
a->seenLatLon = a->seen;
|
||||
a->timestampLatLon = a->timestamp;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -325,7 +324,6 @@ struct aircraft *trackUpdateFromMessage(struct modesMessage *mm)
|
|||
|
||||
a->signalLevel[a->messages & 7] = mm->signalLevel;// replace the 8th oldest signal strength
|
||||
a->seen = now;
|
||||
a->timestamp = mm->timestampMsg;
|
||||
a->messages++;
|
||||
|
||||
// If a (new) CALLSIGN has been received, copy it to the aircraft structure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue