Treat zero-or-missing signal levels as "no information" and don't include them in RSSI.
This commit is contained in:
parent
f7c9aed8b0
commit
214bc0e587
3 changed files with 19 additions and 9 deletions
1
track.h
1
track.h
|
|
@ -64,6 +64,7 @@ struct aircraft {
|
|||
uint32_t addr; // ICAO address
|
||||
char flight[16]; // Flight number
|
||||
double signalLevel[8]; // Last 8 Signal Amplitudes
|
||||
int signalNext; // next index of signalLevel to use
|
||||
int altitude; // Altitude (Baro)
|
||||
int altitude_hae; // Altitude (HAE)
|
||||
int hae_delta; // Difference between HAE and Baro altitudes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue