From 90adaf22f70863cf49a513e36fa800dd493bfd8b Mon Sep 17 00:00:00 2001 From: maxried Date: Mon, 14 Sep 2015 20:03:19 +0200 Subject: [PATCH] Update net_io.c --- net_io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net_io.c b/net_io.c index d39d8e8..3c9374d 100644 --- a/net_io.c +++ b/net_io.c @@ -514,7 +514,7 @@ static void modesSendSBSOutput(struct modesMessage *mm) { p += sprintf(p, "MSG,%d,111,11111,%06X,111111,", msgType, mm->addr); // Find current system time -// clock_gettime(CLOCK_REALTIME, &now); + clock_gettime(CLOCK_REALTIME, &now); localtime_r(&now.tv_sec, &stTime_now); // Find message reception time @@ -691,7 +691,7 @@ static int decodeBinMessage(struct client *c, char *p) { } // record reception time as the time we read it. -// clock_gettime(CLOCK_REALTIME, &mm.sysTimestampMsg); + clock_gettime(CLOCK_REALTIME, &mm.sysTimestampMsg); ch = *p++; // Grab the signal level mm.signalLevel = ((unsigned char)ch / 256.0); @@ -817,7 +817,7 @@ static int decodeHexMessage(struct client *c, char *hex) { } // record reception time as the time we read it. -// clock_gettime(CLOCK_REALTIME, &mm.sysTimestampMsg); + clock_gettime(CLOCK_REALTIME, &mm.sysTimestampMsg); if (l == (MODEAC_MSG_BYTES * 2)) { // ModeA or ModeC Modes.stats_current.remote_received_modeac++;