diff options
Diffstat (limited to 'AISCommon.c')
| -rw-r--r-- | AISCommon.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/AISCommon.c b/AISCommon.c index 2d7bc33..22839d3 100644 --- a/AISCommon.c +++ b/AISCommon.c @@ -253,8 +253,6 @@ HANDLE TrackHandle; HANDLE hTrack;
UINT LastTrackFileTime;
-UINT NOW;
-
char Stack[500];
BOOL Stacked=FALSE;
@@ -899,8 +897,6 @@ int ProcessAISMessage(char * msg, int len) char Data[256];
float alt=0.0;
- NOW = time(NULL);
-
ptr1 = &msg[7];
//' Looks like first is no of fragments in message, 2nd fragment seq no, 3rd msg seq, 4th port
@@ -1316,9 +1312,7 @@ int DecodeVDM(char *msg) V_WidthC = val[44];
V_WidthD = val[45];
- // sprintf(TraceMsg,"%s %d %d %d %d %d LenA %d LenB %d\n", V_Name, val[41], val[42], val[43], val[44], val[45], V_LenA, V_LenB);
- // OutputDebugString(TraceMsg);
-
+
//' Type of Fix 4 274 char 46 bits 0-3
FixType = val[46] >>2;
@@ -2472,8 +2466,6 @@ void AISTimer() {
// Entered every minute
- NOW = time(NULL);
-
CheckAgeofTargets(MaxAge);
if (VessselDBChanged)
@@ -2493,7 +2485,6 @@ void ADSBTimer() {
// Entered every minute
- NOW = time(NULL);
CheckAgeofPlanes(300);
ProcessADSBJSON(ADSBFN);
@@ -2567,8 +2558,6 @@ int GetAISPageInfo(char * Buffer, int ais, int adsb) char * p;
char DestBuffer[128] = "";
- NOW = time(NULL);
-
if (adsb)
ProcessADSBJSON(ADSBFN);
|
