View1090 WinXP bugfix
Updated the way socket handles are used in View1090 to maintain compatibility between UNIX and Windows. Added the initial attempt at a Planeplotter uploader
This commit is contained in:
parent
a968f03c3a
commit
5b5424df3b
9 changed files with 333 additions and 45 deletions
9
mode_s.c
9
mode_s.c
|
@ -1816,13 +1816,8 @@ void detectModeS(uint16_t *m, uint32_t mlen) {
|
|||
void useModesMessage(struct modesMessage *mm) {
|
||||
if ((Modes.check_crc == 0) || (mm->crcok) || (mm->correctedbits)) { // not checking, ok or fixed
|
||||
|
||||
// Track aircrafts if...
|
||||
if ( (Modes.interactive) // in interactive mode
|
||||
|| (Modes.stat_http_requests) // or if the HTTP interface is enabled
|
||||
|| (Modes.stat_sbs_connections) // or if sbs connections are established
|
||||
|| (Modes.mode_ac) ) { // or if mode A/C decoding is enabled
|
||||
interactiveReceiveData(mm);
|
||||
}
|
||||
// Always track aircraft
|
||||
interactiveReceiveData(mm);
|
||||
|
||||
// In non-interactive non-quiet mode, display messages on standard output
|
||||
if (!Modes.interactive && !Modes.quiet) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue