diff options
author | Jon Schlueter <jon.schlueter@gmail.com> | 2011-03-05 23:03:27 -0500 |
---|---|---|
committer | Jon Schlueter <jon.schlueter@gmail.com> | 2011-03-05 23:03:27 -0500 |
commit | 0f1977b42db947d9200c3dd413ed72b4ca6888a7 (patch) | |
tree | afa8395fa6a5a14fd6aee7182828f225cb0e9d53 | |
parent | 15a36f29522c0159e61dfebfdbc0413099d4b0bf (diff) | |
download | gpsd-0f1977b42db947d9200c3dd413ed72b4ca6888a7.tar.gz |
expand logging for error condition of too many satellites reported
in driver_nmea log how many was reported in the error log
-rw-r--r-- | driver_nmea.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver_nmea.c b/driver_nmea.c index 9f3c4a9c..ab0b1e40 100644 --- a/driver_nmea.c +++ b/driver_nmea.c @@ -562,7 +562,8 @@ static gps_mask_t processGPGSV(int count, char *field[], for (fldnum = 4; fldnum < count;) { if (session->gpsdata.satellites_visible >= MAXCHANNELS) { - gpsd_report(LOG_ERROR, "internal error - too many satellites!\n"); + gpsd_report(LOG_ERROR, "internal error - too many satellites [%d]!\n", + session->gpsdata.satellites_visible); gpsd_zero_satellites(&session->gpsdata); break; } |