Be more aggressive about removing aircraft where we have seen only 1 message.
This commit is contained in:
parent
20407e5378
commit
1584955080
2 changed files with 5 additions and 1 deletions
3
track.h
3
track.h
|
|
@ -53,6 +53,9 @@
|
|||
/* Maximum age of tracked aircraft in seconds */
|
||||
#define TRACK_AIRCRAFT_TTL 300
|
||||
|
||||
/* Maximum age of a tracked aircraft with only 1 message received, in seconds */
|
||||
#define TRACK_AIRCRAFT_ONEHIT_TTL 30
|
||||
|
||||
/* Structure used to describe the state of one tracked aircraft */
|
||||
struct aircraft {
|
||||
uint32_t addr; // ICAO address
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue