diff options
-rw-r--r-- | gpsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -817,7 +817,7 @@ static int handle_gpsd_request(int cfd, char *buf, int buflen) if (isnan(whoami->fixbuffer.time)==0) (void)snprintf(phrase+strlen(phrase), sizeof(phrase)-strlen(phrase), - " %.3f", + " %.2f", whoami->fixbuffer.time); else (void)strlcat(phrase, " ?", BUFSIZ); @@ -1020,7 +1020,7 @@ static int handle_gpsd_request(int cfd, char *buf, int buflen) if (isnan(whoami->device->gpsdata.sentence_time)==0) (void)snprintf(phrase+strlen(phrase), sizeof(phrase)-strlen(phrase), - " %.3f ", + " %.2f ", whoami->device->gpsdata.sentence_time); else (void)strlcat(phrase, " ? ", BUFSIZ); |