summaryrefslogtreecommitdiff
path: root/tsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-11-02 06:01:31 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-11-02 06:01:31 +0000
commitd5ac6f74c152a38fbbd03aa8224ef3846b7cdd7e (patch)
tree16f9325b8bf3dac2e7a618852e7614f10c6ea448 /tsip.c
parent267ecb38466e2843869ad1749a87ae8f9222b01a (diff)
downloadgpsd-d5ac6f74c152a38fbbd03aa8224ef3846b7cdd7e.tar.gz
Convert some log levels I missed first time around.
Diffstat (limited to 'tsip.c')
-rw-r--r--tsip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tsip.c b/tsip.c
index dcc8bf70..4189e7fb 100644
--- a/tsip.c
+++ b/tsip.c
@@ -629,7 +629,7 @@ static gps_mask_t tsip_analyze(struct gps_device_t *session)
mask |= TIME_SET | LATLON_SET | ALTITUDE_SET | SPEED_SET | TRACK_SET | CLIMB_SET | STATUS_SET | MODE_SET | CYCLE_START_SET;
break;
default:
- gpsd_report(4,"Unhandled TSIP superpacket type 0x%02x\n",u1);
+ gpsd_report(LOG_WARN,"Unhandled TSIP superpacket type 0x%02x\n",u1);
}
break;
case 0xbb: /* Navigation Configuration */
@@ -644,10 +644,10 @@ static gps_mask_t tsip_analyze(struct gps_device_t *session)
f3 = getf(buf,13); /* DOP Mask */
f4 = getf(buf,17); /* DOP Switch */
u5 = getub(buf,21); /* DGPS Age Limit */
- gpsd_report(4, "Navigation Configuration %u %u %u %u %f %f %f %f %u\n",u1,u2,u3,u4,f1,f2,f3,f4,u5);
+ gpsd_report(LOG_INF, "Navigation Configuration %u %u %u %u %f %f %f %f %u\n",u1,u2,u3,u4,f1,f2,f3,f4,u5);
break;
default:
- gpsd_report(4,"Unhandled TSIP packet type 0x%02x\n",id);
+ gpsd_report(LOG_WARN,"Unhandled TSIP packet type 0x%02x\n",id);
break;
}