Fix compile errors.
This commit is contained in:
parent
70e8579850
commit
35e0364670
4
net_io.c
4
net_io.c
|
@ -743,7 +743,7 @@ char *generateAircraftJson(const char *url_path, int *len) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (a->msgs < 2) { // basic filter for bad decodes
|
||||
if (a->messages < 2) { // basic filter for bad decodes
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -1315,7 +1315,7 @@ static void writeFATSV() {
|
|||
if (a->addr & MODES_NON_ICAO_ADDRESS)
|
||||
continue;
|
||||
|
||||
if (a->msgs < 2) // basic filter for bad decodes
|
||||
if (a->messages < 2) // basic filter for bad decodes
|
||||
continue;
|
||||
|
||||
// don't emit if it hasn't updated since last time
|
||||
|
|
Loading…
Reference in a new issue