From c83d404c4a329485134be2b399d11b2fb262ff0b Mon Sep 17 00:00:00 2001 From: Malcolm Robb Date: Sat, 11 May 2013 16:11:45 +0100 Subject: [PATCH] Update of some comments, Version and release --- dump1090.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dump1090.c b/dump1090.c index fe11be4..c32e6b2 100644 --- a/dump1090.c +++ b/dump1090.c @@ -56,7 +56,7 @@ // MinorVer changes when additional features are added, but not for bug fixes (range 00-99) // DayDate & Year changes for all changes, including for bug fixes. It represent the release date of the update // -#define MODES_DUMP1090_VERSION "1.05.1005.13" +#define MODES_DUMP1090_VERSION "1.05.1105.13" #define MODES_USER_LATITUDE_DFLT (0.0) #define MODES_USER_LONGITUDE_DFLT (0.0) @@ -3083,11 +3083,7 @@ void modesSendRawOutput(struct modesMessage *mm) { } // // Write SBS output to TCP clients -// -// We are passed in both the aircraft structure (a) and the message structure (mm). // The message structure mm->bFlags tells us what has been updated by this message -// The aircraft structure a->bFlags tells us everything we currently know about this -// aircraft. Information not marked as 'new' in mm->bFlags will be historical/stale // void modesSendSBSOutput(struct modesMessage *mm) { char msg[256], *p = msg; @@ -3150,7 +3146,6 @@ void modesSendSBSOutput(struct modesMessage *mm) { p += sprintf(p, "%04d/%02d/%02d,", (stTime.tm_year+1900),(stTime.tm_mon+1), stTime.tm_mday); p += sprintf(p, "%02d:%02d:%02d.%03d", stTime.tm_hour, stTime.tm_min, stTime.tm_sec, epocTime.millitm); - // Field 11 is the callsign (if we have it) if (mm->bFlags & MODES_ACFLAGS_CALLSIGN_VALID) {p += sprintf(p, ",%s", mm->flight);} else {p += sprintf(p, ",");}