Track the "best" addrtype we ever saw for an aircraft.
This commit is contained in:
parent
2a4aa29f03
commit
8d8443f3dc
3 changed files with 16 additions and 5 deletions
1
track.h
1
track.h
|
|
@ -69,6 +69,7 @@ typedef struct {
|
|||
/* Structure used to describe the state of one tracked aircraft */
|
||||
struct aircraft {
|
||||
uint32_t addr; // ICAO address
|
||||
addrtype_t addrtype; // highest priority address type seen for this aircraft
|
||||
|
||||
uint64_t seen; // Time (millis) at which the last packet was received
|
||||
long messages; // Number of Mode S messages received
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue