diff --git a/track.c b/track.c index 7f1fe7a..97476cd 100644 --- a/track.c +++ b/track.c @@ -300,7 +300,6 @@ static void updatePosition(struct aircraft *a, struct modesMessage *mm, time_t n // Update aircraft state a->bFlags |= (MODES_ACFLAGS_LATLON_VALID | MODES_ACFLAGS_LATLON_REL_OK); a->seenLatLon = a->seen; - a->timestampLatLon = a->timestamp; } } @@ -325,7 +324,6 @@ struct aircraft *trackUpdateFromMessage(struct modesMessage *mm) a->signalLevel[a->messages & 7] = mm->signalLevel;// replace the 8th oldest signal strength a->seen = now; - a->timestamp = mm->timestampMsg; a->messages++; // If a (new) CALLSIGN has been received, copy it to the aircraft structure diff --git a/track.h b/track.h index 85e1a07..452b8d4 100644 --- a/track.h +++ b/track.h @@ -67,8 +67,6 @@ struct aircraft { int vert_rate; // Vertical rate. time_t seen; // Time at which the last packet was received time_t seenLatLon; // Time at which the last lat long was calculated - uint64_t timestamp; // Timestamp at which the last packet was received - uint64_t timestampLatLon;// Timestamp at which the last lat long was calculated long messages; // Number of Mode S messages received int modeA; // Squawk int modeC; // Altitude