Make faup1090 emit some interesting messages when they occur.
This commit is contained in:
parent
54ca2c7fb2
commit
954034855a
3 changed files with 88 additions and 0 deletions
3
track.c
3
track.c
|
|
@ -70,6 +70,9 @@ struct aircraft *trackCreateAircraft(struct modesMessage *mm) {
|
|||
a->signalLevel[i] = 1e-5;
|
||||
a->signalNext = 0;
|
||||
|
||||
// start off with the "last emitted" ACAS RA being blank (just the BDS 3,0 code)
|
||||
a->fatsv_emitted_bds_30[0] = 0x30;
|
||||
|
||||
// mm->msgtype 32 is used to represent Mode A/C. These values can never change, so
|
||||
// set them once here during initialisation, and don't bother to set them every
|
||||
// time this ModeA/C is received again in the future
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue